[INFO] fetching crate mockiato-codegen 0.9.5... [INFO] testing mockiato-codegen-0.9.5 against 1.60.0 for beta-1.61-1 [INFO] extracting crate mockiato-codegen 0.9.5 into /workspace/builds/worker-109/source [INFO] validating manifest of crates.io crate mockiato-codegen 0.9.5 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mockiato-codegen 0.9.5 [INFO] finished tweaking crates.io crate mockiato-codegen 0.9.5 [INFO] tweaked toml for crates.io crate mockiato-codegen 0.9.5 written to /workspace/builds/worker-109/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e5aae02480e34cf1f7adb9d49d6d321ddd08054d9de2ed1ae39405dc8f14aa2 [INFO] running `Command { std: "docker" "start" "-a" "2e5aae02480e34cf1f7adb9d49d6d321ddd08054d9de2ed1ae39405dc8f14aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5aae02480e34cf1f7adb9d49d6d321ddd08054d9de2ed1ae39405dc8f14aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5aae02480e34cf1f7adb9d49d6d321ddd08054d9de2ed1ae39405dc8f14aa2", kill_on_drop: false }` [INFO] [stdout] 2e5aae02480e34cf1f7adb9d49d6d321ddd08054d9de2ed1ae39405dc8f14aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdcf9c1e349bb3b359182d45e30e7edfeff32b29e830a2cecbf9435b3d59498a [INFO] running `Command { std: "docker" "start" "-a" "bdcf9c1e349bb3b359182d45e30e7edfeff32b29e830a2cecbf9435b3d59498a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mockiato-codegen v0.9.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate proc_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rust_2018_idioms, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/diagnostic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) level: DiagnosticLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Diagnostic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/diagnostic.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/diagnostic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) span: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DiagnosticMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/diagnostic.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/diagnostic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DiagnosticMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/diagnostic.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `attrs` [INFO] [stdout] --> src/parse/method_decl.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MethodDecl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/method_decl.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parse/method_decl.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MethodDecl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/method_decl.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parse/method_inputs.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MethodArg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/method_inputs.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `supertraits` [INFO] [stdout] --> src/parse/trait_decl.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) supertraits: Punctuated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TraitDecl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/trait_decl.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "bdcf9c1e349bb3b359182d45e30e7edfeff32b29e830a2cecbf9435b3d59498a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdcf9c1e349bb3b359182d45e30e7edfeff32b29e830a2cecbf9435b3d59498a", kill_on_drop: false }` [INFO] [stdout] bdcf9c1e349bb3b359182d45e30e7edfeff32b29e830a2cecbf9435b3d59498a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8dca32e04771ed4c63f2d772cddc6afa1440355961dc5204a100ff880090ea7 [INFO] running `Command { std: "docker" "start" "-a" "a8dca32e04771ed4c63f2d772cddc6afa1440355961dc5204a100ff880090ea7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mockiato-codegen v0.9.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate proc_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rust_2018_idioms, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/diagnostic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) level: DiagnosticLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Diagnostic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/diagnostic.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/diagnostic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) span: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DiagnosticMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/diagnostic.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/diagnostic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DiagnosticMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/diagnostic.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `attrs` [INFO] [stdout] --> src/parse/method_decl.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MethodDecl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/method_decl.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parse/method_decl.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MethodDecl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/method_decl.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parse/method_inputs.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MethodArg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/method_inputs.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `supertraits` [INFO] [stdout] --> src/parse/trait_decl.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) supertraits: Punctuated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TraitDecl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parse/trait_decl.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mockiato` [INFO] [stdout] --> src/code_generator.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(test, mockiato::mockable)] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `mockiato` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mockiato` [INFO] [stdout] --> src/parse/mockable_attr.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(test, mockiato::mockable)] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `mockiato` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mockiato` [INFO] [stdout] --> src/parse/trait_decl.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(test, mockiato::mockable)] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `mockiato` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate proc_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rust_2018_idioms, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockiato-codegen` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a8dca32e04771ed4c63f2d772cddc6afa1440355961dc5204a100ff880090ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8dca32e04771ed4c63f2d772cddc6afa1440355961dc5204a100ff880090ea7", kill_on_drop: false }` [INFO] [stdout] a8dca32e04771ed4c63f2d772cddc6afa1440355961dc5204a100ff880090ea7