[INFO] fetching crate test-toolbox 0.5.0... [INFO] testing test-toolbox-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate test-toolbox 0.5.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate test-toolbox 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca42e37a8c4aa6d4c483765b79e66d49cc2e563f898565fd8bf976923d4aaef3 [INFO] running `Command { std: "docker" "start" "-a" "ca42e37a8c4aa6d4c483765b79e66d49cc2e563f898565fd8bf976923d4aaef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca42e37a8c4aa6d4c483765b79e66d49cc2e563f898565fd8bf976923d4aaef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca42e37a8c4aa6d4c483765b79e66d49cc2e563f898565fd8bf976923d4aaef3", kill_on_drop: false }` [INFO] [stdout] ca42e37a8c4aa6d4c483765b79e66d49cc2e563f898565fd8bf976923d4aaef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3966bb70dca29ae81c2d69cad8ec335b9ff709c2359a1ce002cc216b4d4d2303 [INFO] running `Command { std: "docker" "start" "-a" "3966bb70dca29ae81c2d69cad8ec335b9ff709c2359a1ce002cc216b4d4d2303", 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.14s [INFO] running `Command { std: "docker" "inspect" "3966bb70dca29ae81c2d69cad8ec335b9ff709c2359a1ce002cc216b4d4d2303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3966bb70dca29ae81c2d69cad8ec335b9ff709c2359a1ce002cc216b4d4d2303", kill_on_drop: false }` [INFO] [stdout] 3966bb70dca29ae81c2d69cad8ec335b9ff709c2359a1ce002cc216b4d4d2303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffd41527a27b37782ba567bcbd883fcf17495a1a434c3bae0dfe7a243447d7b0 [INFO] running `Command { std: "docker" "start" "-a" "ffd41527a27b37782ba567bcbd883fcf17495a1a434c3bae0dfe7a243447d7b0", kill_on_drop: false }` [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" "ffd41527a27b37782ba567bcbd883fcf17495a1a434c3bae0dfe7a243447d7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd41527a27b37782ba567bcbd883fcf17495a1a434c3bae0dfe7a243447d7b0", kill_on_drop: false }` [INFO] [stdout] ffd41527a27b37782ba567bcbd883fcf17495a1a434c3bae0dfe7a243447d7b0