[INFO] fetching crate rust-test-harness 0.1.3... [INFO] building rust-test-harness-0.1.3 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rust-test-harness 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust-test-harness 0.1.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rust-test-harness 0.1.3 [INFO] tweaked toml for crates.io crate rust-test-harness 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-test-harness 0.1.3 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-test-harness 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15f84ae32e5fd2f61812380f626bb4915c57c6bd208ce98033ee0f32e60622f1 [INFO] running `Command { std: "docker" "start" "-a" "15f84ae32e5fd2f61812380f626bb4915c57c6bd208ce98033ee0f32e60622f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15f84ae32e5fd2f61812380f626bb4915c57c6bd208ce98033ee0f32e60622f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f84ae32e5fd2f61812380f626bb4915c57c6bd208ce98033ee0f32e60622f1", kill_on_drop: false }` [INFO] [stdout] 15f84ae32e5fd2f61812380f626bb4915c57c6bd208ce98033ee0f32e60622f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5e666e0e7b1fc01a60949733b669283b311c896b8afb4d69ded79355b8332b5 [INFO] running `Command { std: "docker" "start" "-a" "f5e666e0e7b1fc01a60949733b669283b311c896b8afb4d69ded79355b8332b5", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bollard-stubs v1.49.0-rc.28.3.3 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling bollard v0.19.2 [INFO] [stderr] Compiling rust-test-harness v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.97s [INFO] running `Command { std: "docker" "inspect" "f5e666e0e7b1fc01a60949733b669283b311c896b8afb4d69ded79355b8332b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e666e0e7b1fc01a60949733b669283b311c896b8afb4d69ded79355b8332b5", kill_on_drop: false }` [INFO] [stdout] f5e666e0e7b1fc01a60949733b669283b311c896b8afb4d69ded79355b8332b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a66f1038972ddb30ec0ac5448e333978f67a286f2a0df6bc8a8671f6fd059e8 [INFO] running `Command { std: "docker" "start" "-a" "1a66f1038972ddb30ec0ac5448e333978f67a286f2a0df6bc8a8671f6fd059e8", kill_on_drop: false }` [INFO] [stderr] Compiling rust-test-harness v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `after_all`, `after_each`, `before_all`, `before_each`, `test_case_named`, and `test_case` [INFO] [stdout] --> examples/real_world_calculator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | test_case, test_case_named, before_all, before_each, after_each, after_all [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestContext`, `after_all`, `after_each`, `before_all`, `before_each`, `test_case_named`, and `test_case` [INFO] [stdout] --> examples/rust_style_tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | test_case, test_case_named, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | before_all, before_each, after_each, after_all, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | TestContext [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/rust_style_tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / test_case!(test_basic_calculator, |_ctx| { [INFO] [stdout] 29 | | let calc = TestCalculator::new(); [INFO] [stdout] 30 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 31 | | Ok(()) [INFO] [stdout] 32 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnameable_test_items)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / test_case!(test_calculator_operations, |_ctx| { [INFO] [stdout] 44 | | let mut calc = TestCalculator::new(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | Ok(()) [INFO] [stdout] 62 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / test_case!(test_calculator_error_case, |_ctx| { [INFO] [stdout] 72 | | let calc = TestCalculator::new(); [INFO] [stdout] ... | [INFO] [stdout] 79 | | Ok(()) [INFO] [stdout] 80 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / test_case_named!(test_named_calculator, |_ctx| { [INFO] [stdout] 90 | | let calc = TestCalculator::new(); [INFO] [stdout] 91 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 92 | | Ok(()) [INFO] [stdout] 93 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case_named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / test_case!(test_context_basic, |_ctx| { [INFO] [stdout] 107 | | // Test basic context functionality [INFO] [stdout] 108 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 109 | | calc.add(25); [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(()) [INFO] [stdout] 113 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / test_case!(test_multiple_1, |_ctx| { [INFO] [stdout] 123 | | let calc = TestCalculator::new(); [INFO] [stdout] 124 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 125 | | Ok(()) [INFO] [stdout] 126 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / test_case!(test_multiple_2, |_ctx| { [INFO] [stdout] 129 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 130 | | calc.add(7); [INFO] [stdout] 131 | | assert_eq!(calc.get_value(), 7); [INFO] [stdout] 132 | | Ok(()) [INFO] [stdout] 133 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / test_case!(test_multiple_3, |_ctx| { [INFO] [stdout] 136 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 137 | | calc.add(10); [INFO] [stdout] 138 | | calc.add(5); [INFO] [stdout] 139 | | assert_eq!(calc.get_value(), 15); [INFO] [stdout] 140 | | Ok(()) [INFO] [stdout] 141 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / test_case!(test_with_very_long_name_that_exceeds_normal_lengths_and_might_cause_issues_in_some_systems, |_ctx| { [INFO] [stdout] 153 | | Ok(()) [INFO] [stdout] 154 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / test_case!(test_with_special_chars_123, |_ctx| { [INFO] [stdout] 158 | | Ok(()) [INFO] [stdout] 159 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / test_case!(test_error_panic, |_ctx| { [INFO] [stdout] 169 | | panic!("intentional panic in macro test"); [INFO] [stdout] 170 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / test_case!(test_error_return, |_ctx| { [INFO] [stdout] 173 | | Err("intentional error return in macro test".into()) [INFO] [stdout] 174 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / test_case!(test_error_assertion, |_ctx| { [INFO] [stdout] 177 | | assert!(false, "intentional assertion failure in macro test"); [INFO] [stdout] 178 | | Ok(()) [INFO] [stdout] 179 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | / test_case!(perf_macro_test_0, |_ctx| { [INFO] [stdout] 192 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 193 | | calc.add(0); [INFO] [stdout] 194 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 195 | | Ok(()) [INFO] [stdout] 196 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / test_case!(perf_macro_test_1, |_ctx| { [INFO] [stdout] 199 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 200 | | calc.add(1); [INFO] [stdout] 201 | | assert_eq!(calc.get_value(), 1); [INFO] [stdout] 202 | | Ok(()) [INFO] [stdout] 203 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / test_case!(perf_macro_test_2, |_ctx| { [INFO] [stdout] 206 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 207 | | calc.add(2); [INFO] [stdout] 208 | | assert_eq!(calc.get_value(), 2); [INFO] [stdout] 209 | | Ok(()) [INFO] [stdout] 210 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / test_case!(test_macro_integration, |_ctx| { [INFO] [stdout] 227 | | let calc = TestCalculator::new(); [INFO] [stdout] 228 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 229 | | Ok(()) [INFO] [stdout] 230 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / test_case!(test_context_isolation_1, |_ctx| { [INFO] [stdout] 249 | | // Each test should get its own context [INFO] [stdout] 250 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 251 | | calc.add(1); [INFO] [stdout] 252 | | assert_eq!(calc.get_value(), 1); [INFO] [stdout] 253 | | Ok(()) [INFO] [stdout] 254 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / test_case!(test_context_isolation_2, |_ctx| { [INFO] [stdout] 257 | | // Each test should get its own context [INFO] [stdout] 258 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 259 | | calc.add(2); [INFO] [stdout] 260 | | assert_eq!(calc.get_value(), 2); [INFO] [stdout] 261 | | Ok(()) [INFO] [stdout] 262 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / test_case!(test_complex_calculator_workflow, |_ctx| { [INFO] [stdout] 272 | | let mut calc = TestCalculator::new(); [INFO] [stdout] ... | [INFO] [stdout] 294 | | Ok(()) [INFO] [stdout] 295 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / test_case!(test_doc_example_1, |_ctx| { [INFO] [stdout] 306 | | let calc = TestCalculator::new(); [INFO] [stdout] 307 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 308 | | Ok(()) [INFO] [stdout] 309 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | / test_case!(test_doc_example_2, |_ctx| { [INFO] [stdout] 313 | | let mut calc = TestCalculator::new(); [INFO] [stdout] 314 | | calc.add(5); [INFO] [stdout] 315 | | calc.add(3); [INFO] [stdout] 316 | | assert_eq!(calc.get_value(), 8); [INFO] [stdout] 317 | | Ok(()) [INFO] [stdout] 318 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> tests/macro_tests.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / test_case!(test_doc_example_3, |_ctx| { [INFO] [stdout] 322 | | let calc = TestCalculator::new(); [INFO] [stdout] 323 | | assert_eq!(calc.get_value(), 0); [INFO] [stdout] 324 | | Ok(()) [INFO] [stdout] 325 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `test` which comes from the expansion of the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `container_id` is never read [INFO] [stdout] --> examples/mongodb_integration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct MongoClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | container_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_id` [INFO] [stdout] --> tests/container_hooks_tests.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let container_id = ctx.get_data::("postgres_container_id") [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_manager` [INFO] [stdout] --> tests/container_hooks_tests.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let container_manager = Arc::new(Mutex::new(MockContainerManager::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `image`, `ports`, and `env` are never read [INFO] [stdout] --> tests/container_hooks_tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct MockContainer { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | status: ContainerStatus, [INFO] [stdout] 17 | ports: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting` and `Failed` are never constructed [INFO] [stdout] --> tests/container_hooks_tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum ContainerStatus { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 23 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `after_all`, `after_each`, `before_all`, `before_each`, and `test_case` [INFO] [stdout] --> examples/basic_usage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | test_case, before_all, before_each, after_each, after_all [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `after_all`, `after_each`, `before_all`, `before_each`, `test_case_named`, and `test_case` [INFO] [stdout] --> examples/cargo_test_integration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | test_case, test_case_named, before_all, before_each, after_each, after_all [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> tests/macro_tests.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl TestCalculator { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | fn add(&mut self, x: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `after_all`, `after_each`, `before_all`, `before_each`, `test_case_named`, and `test_case` [INFO] [stdout] --> examples/advanced_features.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | test_case, test_case_named, before_all, before_each, after_each, after_all [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_test_harness::test_case` [INFO] [stdout] --> examples/minimal_rust_style.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rust_test_harness::test_case; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/advanced_features.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test-harness` (lib test) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/4987e9d4227139400384ab59296ffee3b0fb1183/bin/rustc --crate-name rust_test_harness --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=bfda34cc3d5b5684 -C extra-filename=-d5fa44783ce8db97 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern atty=/opt/rustwide/target/debug/deps/libatty-6c4f4405874fa436.rlib --extern bollard=/opt/rustwide/target/debug/deps/libbollard-0ced04b6a75b84ae.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-915b24ec7522bbb0.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-f816fab6f2526166.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ba604b77dad33fe2.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0ba6aecba7086d38.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-380c63807d2b5582.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-aea77d0033141340.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-863c47959b0506df.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-test-harness` (test "docker_functionality_tests") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/4987e9d4227139400384ab59296ffee3b0fb1183/bin/rustc --crate-name docker_functionality_tests --edition=2021 tests/docker_functionality_tests.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=31f98e1f17973bb7 -C extra-filename=-a87795509639dddb --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern atty=/opt/rustwide/target/debug/deps/libatty-6c4f4405874fa436.rlib --extern bollard=/opt/rustwide/target/debug/deps/libbollard-0ced04b6a75b84ae.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-915b24ec7522bbb0.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-f816fab6f2526166.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ba604b77dad33fe2.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0ba6aecba7086d38.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-380c63807d2b5582.rlib --extern rust_test_harness=/opt/rustwide/target/debug/deps/librust_test_harness-e96273a5e602baa1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-aea77d0033141340.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-863c47959b0506df.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "1a66f1038972ddb30ec0ac5448e333978f67a286f2a0df6bc8a8671f6fd059e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a66f1038972ddb30ec0ac5448e333978f67a286f2a0df6bc8a8671f6fd059e8", kill_on_drop: false }` [INFO] [stdout] 1a66f1038972ddb30ec0ac5448e333978f67a286f2a0df6bc8a8671f6fd059e8