[INFO] fetching crate schemafy 0.5.1... [INFO] checking schemafy-0.5.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate schemafy 0.5.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate schemafy 0.5.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemafy 0.5.1 [INFO] finished tweaking crates.io crate schemafy 0.5.1 [INFO] tweaked toml for crates.io crate schemafy 0.5.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate schemafy 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44d1834839654a7924978e387cabbea392e2089031a3a6de1523af5ff4b6810c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "44d1834839654a7924978e387cabbea392e2089031a3a6de1523af5ff4b6810c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44d1834839654a7924978e387cabbea392e2089031a3a6de1523af5ff4b6810c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d1834839654a7924978e387cabbea392e2089031a3a6de1523af5ff4b6810c", kill_on_drop: false }` [INFO] [stdout] 44d1834839654a7924978e387cabbea392e2089031a3a6de1523af5ff4b6810c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 831b8b02b9ef9548228dbc63f13ae0ae1448af9d4b02882f0071cff9da3eca90 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "831b8b02b9ef9548228dbc63f13ae0ae1448af9d4b02882f0071cff9da3eca90", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `generate-tests` in required-features of target `generate-tests`: `generate-tests` is not present in [features] section [INFO] [stderr] warning: invalid feature `generate-tests` in required-features of target `generate-tests`: `generate-tests` is not present in [features] section [INFO] [stderr] warning: invalid feature `generate-tests` in required-features of target `generate-tests`: `generate-tests` is not present in [features] section [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Checking schemafy_core v0.5.1 [INFO] [stderr] Checking schemafy_lib v0.5.1 [INFO] [stderr] Checking schemafy v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `test_suite` [INFO] [stdout] --> tests/json_schema_test_suite.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod test_suite; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test_suite`, create file "tests/test_suite.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schemafy` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / schemafy::schemafy!( [INFO] [stdout] 7 | | root: Schema [INFO] [stdout] 8 | | "schemafy_lib/src/schema.json" [INFO] [stdout] 9 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Unable to read `/opt/rustwide/workdir/schemafy_lib/src/schema.json`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> tests/test.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | fn schema_exists(schema: Option<&Schema>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use schemafy_lib::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimpleTypes` in this scope [INFO] [stdout] --> tests/test.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn types_exists(_: Option<(&SimpleTypes, PositiveInteger)>) {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use schemafy_lib::SimpleTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PositiveInteger` in this scope [INFO] [stdout] --> tests/test.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn types_exists(_: Option<(&SimpleTypes, PositiveInteger)>) {} [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> tests/test.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | schemafy::schemafy!("tests/nested.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> tests/test.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | schemafy::schemafy!("tests/vega/vega.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | schema_exists(None); [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "831b8b02b9ef9548228dbc63f13ae0ae1448af9d4b02882f0071cff9da3eca90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831b8b02b9ef9548228dbc63f13ae0ae1448af9d4b02882f0071cff9da3eca90", kill_on_drop: false }` [INFO] [stdout] 831b8b02b9ef9548228dbc63f13ae0ae1448af9d4b02882f0071cff9da3eca90