[INFO] fetching crate schemafy 0.5.2... [INFO] checking schemafy-0.5.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate schemafy 0.5.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate schemafy 0.5.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemafy 0.5.2 [INFO] finished tweaking crates.io crate schemafy 0.5.2 [INFO] tweaked toml for crates.io crate schemafy 0.5.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate schemafy 0.5.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 833bd98157dc81a42d65b31cb8c503ec3a401eea24879a7d130086c0ceaaf09e [INFO] running `Command { std: "docker" "start" "-a" "833bd98157dc81a42d65b31cb8c503ec3a401eea24879a7d130086c0ceaaf09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "833bd98157dc81a42d65b31cb8c503ec3a401eea24879a7d130086c0ceaaf09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833bd98157dc81a42d65b31cb8c503ec3a401eea24879a7d130086c0ceaaf09e", kill_on_drop: false }` [INFO] [stdout] 833bd98157dc81a42d65b31cb8c503ec3a401eea24879a7d130086c0ceaaf09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2249e581b6be4d67dc204c629cf482d5e951087a07d312d0102d335e8b284931 [INFO] running `Command { std: "docker" "start" "-a" "2249e581b6be4d67dc204c629cf482d5e951087a07d312d0102d335e8b284931", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking schemafy_core v0.5.2 [INFO] [stderr] Checking schemafy_lib v0.5.2 [INFO] [stderr] Checking schemafy v0.5.2 (/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" or "tests/test_suite/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/test.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / schemafy::schemafy!( [INFO] [stdout] 5 | | root: Schema [INFO] [stdout] 6 | | "schemafy_lib/src/schema.json" [INFO] [stdout] 7 | | ); [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: 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` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> tests/test.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | 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:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | 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:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | 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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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 [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" "2249e581b6be4d67dc204c629cf482d5e951087a07d312d0102d335e8b284931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2249e581b6be4d67dc204c629cf482d5e951087a07d312d0102d335e8b284931", kill_on_drop: false }` [INFO] [stdout] 2249e581b6be4d67dc204c629cf482d5e951087a07d312d0102d335e8b284931