[INFO] fetching crate test-toolbox 0.5.0... [INFO] testing test-toolbox-0.5.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate test-toolbox 0.5.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate test-toolbox 0.5.0 [INFO] finished tweaking crates.io crate test-toolbox 0.5.0 [INFO] tweaked toml for crates.io crate test-toolbox 0.5.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate test-toolbox 0.5.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 688ad51019bed3a9e7e147e283b3792eaf729d874981e8cfe389607434b7a09b [INFO] running `Command { std: "docker" "start" "-a" "688ad51019bed3a9e7e147e283b3792eaf729d874981e8cfe389607434b7a09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "688ad51019bed3a9e7e147e283b3792eaf729d874981e8cfe389607434b7a09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688ad51019bed3a9e7e147e283b3792eaf729d874981e8cfe389607434b7a09b", kill_on_drop: false }` [INFO] [stdout] 688ad51019bed3a9e7e147e283b3792eaf729d874981e8cfe389607434b7a09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3d334b0648674a3580073a1f694c0041da391174137048676cac3fa96d054f9 [INFO] running `Command { std: "docker" "start" "-a" "c3d334b0648674a3580073a1f694c0041da391174137048676cac3fa96d054f9", kill_on_drop: false }` [INFO] [stderr] Compiling test-toolbox v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "c3d334b0648674a3580073a1f694c0041da391174137048676cac3fa96d054f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d334b0648674a3580073a1f694c0041da391174137048676cac3fa96d054f9", kill_on_drop: false }` [INFO] [stdout] c3d334b0648674a3580073a1f694c0041da391174137048676cac3fa96d054f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8cd8166c86c541c29456349a9e709b3ebaa753fd46df210cdb51835df2a3f82 [INFO] running `Command { std: "docker" "start" "-a" "a8cd8166c86c541c29456349a9e709b3ebaa753fd46df210cdb51835df2a3f82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling version-sync v0.9.5 [INFO] [stderr] Compiling test-toolbox v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::actual` [INFO] [stdout] --> src/tests/actual_nested_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::actual; [INFO] [stdout] | ^^^^^^^^^^^^^ no `actual` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "actual")] [INFO] [stdout] | ------------------ the item is gated behind the `actual` feature [INFO] [stdout] 21 | mod actual; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::expect` [INFO] [stdout] --> src/tests/actual_nested_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::expect; [INFO] [stdout] | ^^^^^^^^^^^^^ no `expect` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "expected")] [INFO] [stdout] | -------------------- the item is gated behind the `expected` feature [INFO] [stdout] 25 | mod expect; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::actual` [INFO] [stdout] --> src/tests/actual_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::actual; [INFO] [stdout] | ^^^^^^^^^^^^^ no `actual` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "actual")] [INFO] [stdout] | ------------------ the item is gated behind the `actual` feature [INFO] [stdout] 21 | mod actual; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::expect` [INFO] [stdout] --> src/tests/actual_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::expect; [INFO] [stdout] | ^^^^^^^^^^^^^ no `expect` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "expected")] [INFO] [stdout] | -------------------- the item is gated behind the `expected` feature [INFO] [stdout] 25 | mod expect; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::capture` [INFO] [stdout] --> src/tests/capture_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::capture; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `capture` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "capture")] [INFO] [stdout] | ------------------- the item is gated behind the `capture` feature [INFO] [stdout] 23 | mod capture; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::expect` [INFO] [stdout] --> src/tests/expect_nested_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::expect; [INFO] [stdout] | ^^^^^^^^^^^^^ no `expect` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "expected")] [INFO] [stdout] | -------------------- the item is gated behind the `expected` feature [INFO] [stdout] 25 | mod expect; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::expect` [INFO] [stdout] --> src/tests/expect_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::expect; [INFO] [stdout] | ^^^^^^^^^^^^^ no `expect` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "expected")] [INFO] [stdout] | -------------------- the item is gated behind the `expected` feature [INFO] [stdout] 25 | mod expect; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_nested_tests.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(expected, $var); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 97 | nested! { @dbg actual: String } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `nested` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_nested_tests.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(expected, $var); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 102 | nested! { @dbg actual: String; String::from("release value") } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `nested` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_nested_tests.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(expected, $var); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 107 | nested! { @dbg mut actual: String; String::new() } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `nested` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_nested_tests.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(expected, $var); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 112 | nested! { @rls mut actual: String; String::new() } [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `nested` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_nested_tests.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(expected, $var); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 117 | nested! { @rls actual: String } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `nested` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_nested_tests.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(expected, $var); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 122 | nested! { @rls actual: String; String::from("debug value") } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `nested` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_tests.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_tests.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_tests.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_tests.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_tests.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/actual_tests.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/expect_nested_tests.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 6 | expect! { $var = $rls, $dgb } [INFO] [stdout] | ---- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 38 | nested! { expected = "release", "debug" } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/expect_nested_tests.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 21 | expect! { $var: $typ = $rls, $dgb } [INFO] [stdout] | ---- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 43 | nested! { expected: &str = "release", "debug" } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/expect_tests.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected` in this scope [INFO] [stdout] --> src/tests/expect_tests.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(expected, actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-toolbox` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "a8cd8166c86c541c29456349a9e709b3ebaa753fd46df210cdb51835df2a3f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8cd8166c86c541c29456349a9e709b3ebaa753fd46df210cdb51835df2a3f82", kill_on_drop: false }` [INFO] [stdout] a8cd8166c86c541c29456349a9e709b3ebaa753fd46df210cdb51835df2a3f82