[INFO] fetching crate mockers_derive 0.23.0... [INFO] building mockers_derive-0.23.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate mockers_derive 0.23.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mockers_derive 0.23.0 [INFO] finished tweaking crates.io crate mockers_derive 0.23.0 [INFO] tweaked toml for crates.io crate mockers_derive 0.23.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mockers_derive 0.23.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding indoc v0.3.6 (available: v2.0.6) [INFO] [stderr] Adding indoc-impl v0.3.6 (available: v0.3.7) [INFO] [stderr] Adding itertools v0.4.19 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v1.0.2 [INFO] [stderr] Downloaded toml_parser v1.0.3 [INFO] [stderr] Downloaded toml_datetime v0.7.2 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded glob v0.3.3 [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Downloaded indexmap v2.11.4 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded hashbrown v0.16.0 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded proc-quote-impl v0.3.2 [INFO] [stderr] Downloaded proc-quote v0.4.0 [INFO] [stderr] Downloaded winnow v0.7.13 [INFO] [stderr] Downloaded toml v0.9.7 [INFO] [stderr] Downloaded equivalent v1.0.2 [INFO] [stderr] Downloaded trybuild v1.0.111 [INFO] [stderr] Downloaded toml_writer v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a937a121a258f9b5df934808f88844c3421d6c6aad11193bf98fe9f8f6ffc4df [INFO] running `Command { std: "docker" "start" "-a" "a937a121a258f9b5df934808f88844c3421d6c6aad11193bf98fe9f8f6ffc4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a937a121a258f9b5df934808f88844c3421d6c6aad11193bf98fe9f8f6ffc4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a937a121a258f9b5df934808f88844c3421d6c6aad11193bf98fe9f8f6ffc4df", kill_on_drop: false }` [INFO] [stdout] a937a121a258f9b5df934808f88844c3421d6c6aad11193bf98fe9f8f6ffc4df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c9e7dd952b8f8f7660b254edd1ea4bc69d58ed3d4a1d901a35ec701df747e35 [INFO] running `Command { std: "docker" "start" "-a" "4c9e7dd952b8f8f7660b254edd1ea4bc69d58ed3d4a1d901a35ec701df747e35", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling mockers_derive v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/options.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MockAttrOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.12s [INFO] running `Command { std: "docker" "inspect" "4c9e7dd952b8f8f7660b254edd1ea4bc69d58ed3d4a1d901a35ec701df747e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c9e7dd952b8f8f7660b254edd1ea4bc69d58ed3d4a1d901a35ec701df747e35", kill_on_drop: false }` [INFO] [stdout] 4c9e7dd952b8f8f7660b254edd1ea4bc69d58ed3d4a1d901a35ec701df747e35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f48329568fc14ebf64e7027372f33030120e1b328f5c6009cdac805e8aeb8c [INFO] running `Command { std: "docker" "start" "-a" "c7f48329568fc14ebf64e7027372f33030120e1b328f5c6009cdac805e8aeb8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling mockers_derive v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/options.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MockAttrOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stdout] error[E0432]: unresolved import `mockers` [INFO] [stdout] --> tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mockers; [INFO] [stdout] | ^^^^^^^ no external crate `mockers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mockers` in the list of imported crates [INFO] [stdout] --> tests/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[mocked] [INFO] [stdout] | ^^^^^^^^^ could not find `mockers` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mocked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mockers` in the list of imported crates [INFO] [stdout] --> tests/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | BMock, [INFO] [stdout] 15 | | self, [INFO] [stdout] 16 | | trait B { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ could not find `mockers` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockers_derive` (test "mod") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/options.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MockAttrOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7f48329568fc14ebf64e7027372f33030120e1b328f5c6009cdac805e8aeb8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f48329568fc14ebf64e7027372f33030120e1b328f5c6009cdac805e8aeb8c", kill_on_drop: false }` [INFO] [stdout] c7f48329568fc14ebf64e7027372f33030120e1b328f5c6009cdac805e8aeb8c