[INFO] fetching crate schemafy 0.5.1... [INFO] checking schemafy-0.5.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate schemafy 0.5.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate schemafy 0.5.1 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-7/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c336dfa8b39a275a6593bd21e5eec66d7d8e36d326600b94f77a10468b9b9e9 [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" "6c336dfa8b39a275a6593bd21e5eec66d7d8e36d326600b94f77a10468b9b9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c336dfa8b39a275a6593bd21e5eec66d7d8e36d326600b94f77a10468b9b9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c336dfa8b39a275a6593bd21e5eec66d7d8e36d326600b94f77a10468b9b9e9", kill_on_drop: false }` [INFO] [stdout] 6c336dfa8b39a275a6593bd21e5eec66d7d8e36d326600b94f77a10468b9b9e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15c4e0ff45e782acbffc744112518bc6a2e89fab779daac560af1d605342a30d [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" "15c4e0ff45e782acbffc744112518bc6a2e89fab779daac560af1d605342a30d", 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 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 regex-syntax v0.6.18 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.3.9 [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" "15c4e0ff45e782acbffc744112518bc6a2e89fab779daac560af1d605342a30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c4e0ff45e782acbffc744112518bc6a2e89fab779daac560af1d605342a30d", kill_on_drop: false }` [INFO] [stdout] 15c4e0ff45e782acbffc744112518bc6a2e89fab779daac560af1d605342a30d