Skip to content

Build marked as failed due to VARCHAR(100) limit on license field(?) #3301

@justsmth

Description

@justsmth

Crate name

aws-lc-sys

Build failure link

https://docs.rs/crate/aws-lc-sys/0.40.0/builds/3143766

Additional details

The aws-lc-sys crate has been failing to build on docs.rs since version =0.39.0. The build logs show the documentation building successfully, but the build is marked as failed with a database error.

The build log for aws-lc-sys 0.40.0 (build #3143766) shows:

# error kind
Other

# pre-build errors
error returned from database: value too long for type character varying(100)

I believe the cause is our license field in Cargo.toml, which is a 135-character SPDX expression:

license = "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)"

This exceeded 100 characters starting in version 0.39.0 when we updated our licensing metadata. The last successful build was 0.38.0, which had a 43-character license string.

I'm not aware of SPDX specification imposing a 100-character limit on license expressions, so this seems like an unintentional constraint in the database schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions