[INFO] fetching crate test-toolbox 0.5.0... [INFO] checking test-toolbox-0.5.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate test-toolbox 0.5.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate test-toolbox 0.5.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 602fff7e84cd258309eb1bb1dd314615fb980bc18fe626a3d08f016dcefb65a6 [INFO] running `Command { std: "docker" "start" "-a" "602fff7e84cd258309eb1bb1dd314615fb980bc18fe626a3d08f016dcefb65a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "602fff7e84cd258309eb1bb1dd314615fb980bc18fe626a3d08f016dcefb65a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602fff7e84cd258309eb1bb1dd314615fb980bc18fe626a3d08f016dcefb65a6", kill_on_drop: false }` [INFO] [stdout] 602fff7e84cd258309eb1bb1dd314615fb980bc18fe626a3d08f016dcefb65a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04393933410a5d6af48551a7714c1d2a9a0d2091d440ef626021a4d44433c2ed [INFO] running `Command { std: "docker" "start" "-a" "04393933410a5d6af48551a7714c1d2a9a0d2091d440ef626021a4d44433c2ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking test-toolbox v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking version-sync v0.9.5 [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" "04393933410a5d6af48551a7714c1d2a9a0d2091d440ef626021a4d44433c2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04393933410a5d6af48551a7714c1d2a9a0d2091d440ef626021a4d44433c2ed", kill_on_drop: false }` [INFO] [stdout] 04393933410a5d6af48551a7714c1d2a9a0d2091d440ef626021a4d44433c2ed