[INFO] fetching crate rust-test-harness 0.1.3... [INFO] building rust-test-harness-0.1.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate rust-test-harness 0.1.3 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-test-harness 0.1.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4686c7c968f0b7fa5071e92f2502fe9a2b49878600fcbe29b4c44a0351542cc [INFO] running `Command { std: "docker" "start" "-a" "c4686c7c968f0b7fa5071e92f2502fe9a2b49878600fcbe29b4c44a0351542cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4686c7c968f0b7fa5071e92f2502fe9a2b49878600fcbe29b4c44a0351542cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4686c7c968f0b7fa5071e92f2502fe9a2b49878600fcbe29b4c44a0351542cc", kill_on_drop: false }` [INFO] [stdout] c4686c7c968f0b7fa5071e92f2502fe9a2b49878600fcbe29b4c44a0351542cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f2423410dd546e7319fe83515dbc6a59a4d3e397b833bd694a4c511e4cc3916 [INFO] running `Command { std: "docker" "start" "-a" "1f2423410dd546e7319fe83515dbc6a59a4d3e397b833bd694a4c511e4cc3916", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling bollard-stubs v1.49.0-rc.28.3.3 [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 44.66s [INFO] running `Command { std: "docker" "inspect" "1f2423410dd546e7319fe83515dbc6a59a4d3e397b833bd694a4c511e4cc3916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2423410dd546e7319fe83515dbc6a59a4d3e397b833bd694a4c511e4cc3916", kill_on_drop: false }` [INFO] [stdout] 1f2423410dd546e7319fe83515dbc6a59a4d3e397b833bd694a4c511e4cc3916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72f4e166899a340ea322e8c5a5b6a7f3e116bcbf77f7155d76d1467171911443 [INFO] running `Command { std: "docker" "start" "-a" "72f4e166899a340ea322e8c5a5b6a7f3e116bcbf77f7155d76d1467171911443", kill_on_drop: false }` [INFO] [stderr] Compiling rust-test-harness v0.1.3 (/opt/rustwide/workdir) [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 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: `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: 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: 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: 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: 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: 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 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: `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] [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] [stderr] error: could not compile `rust-test-harness` (example "container_port_access") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name container_port_access --edition=2021 examples/container_port_access.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=b2e51c21d76d187e -C extra-filename=-e2ec342d2b2b84b8 --out-dir /opt/rustwide/target/debug/examples -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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustchzoLqf/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librust_test_harness-e96273a5e602baa1,libchrono-915b24ec7522bbb0,libiana_time_zone-693b81a5c0b46492,libnum_traits-6a9f211205bd6663,libatty-6c4f4405874fa436,libbollard-0ced04b6a75b84ae,libserde_urlencoded-f29e7764dd61525d,libthiserror-28699b21d3df6513,liburl-12bc1f20e5a0a984,libidna-1cbc5c4c3b57ed4b,libutf8_iter-0d9be7b316c2b184,libidna_adapter-2ee6a4bacade9b3c,libicu_properties-f3791e28a27400db,libicu_properties_data-9d163be0f8ec47fd,libicu_normalizer-32bf04e6d3c39ae1,libicu_normalizer_data-9919e82512efe734,libicu_collections-8ff57bc822571fa5,libpotential_utf-97fbe0b7d16f693a,libicu_provider-06f762e501432cee,libicu_locale_core-360c7a6d81f4f33d,libtinystr-050aabc607b9dfa8,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-00b1bd4a3ce6af6a,libzerotrie-363e0234a625ea78,libyoke-dae584a41bcc6477,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-f81e52102681fdb5,libform_urlencoded-ffde51bcb0b5cf7a,libpercent_encoding-8c980134d68585d5,libbollard_stubs-5826dbfa70ce6e30,libserde_with-b2685caf2e96cdd2,libserde_json-0c6f94c458888e74,libmemchr-2d97b38eddd0133f,libryu-0ea4bafc9bef6d8b,libhyperlocal-0a69a1a99fcf0f4f,libhex-28742b4ca144387c,libhyper_util-a83c952db48b431f,libtower_service-0d7df29686b13872,libtracing-092f07663e482c15,libtracing_core-181ee1ed942b4689,libtokio_util-8209d3e1a6bac1b4,libfutures_sink-be8442ee548d90f9,libserde-535a8c05da470e0e,libhyper-92d631a7bc2c5a78,libwant-0f3c3ee377cad37f,libtry_lock-aabba5e3d97e6b57,libhttparse-47a3d40564b60e09,libtokio-aea77d0033141340,libsignal_hook_registry-dc432a6cbbcb6361,libsocket2-3ed8ac1c6dcd3fb1,libmio-42cc619f1990aa9e,libparking_lot-716158612cdfffaf,libparking_lot_core-498dcdccb8044700,liblibc-a58beeab2e1413cc,libcfg_if-666d36e5ee0df220,libsmallvec-5854932b8c8b4991,liblock_api-0826b5028eacedf5,libscopeguard-d52bd00767847e44,libatomic_waker-001109810bdecbaa,libhttpdate-9f9d2502c6a38412,libfutures_channel-179401688c37d974,libhttp_body_util-f2ff7a97002ec3c2,libhttp_body-5d2c120e15cb3719,libhttp-8a286151680a468c,libitoa-6b76ec393d6a2c41,libbytes-bfe11088fe358bd1,libfnv-2d77ec4f6f971b24,libfutures_util-1c9cf9e7a07e9f6d,libslab-8c0cbfb396425d81,libpin_project_lite-bedc6e0acd72ff2a,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libbase64-2a03de3babadded3,librayon-380c63807d2b5582,librayon_core-e3d7e751b31f5166,libcrossbeam_deque-ce08bd9aba37d973,libcrossbeam_epoch-0e344cb0f6dc787c,libcrossbeam_utils-57acb8582d3ed5fe,libeither-3b4351e3b18e236a,liblog-ba604b77dad33fe2,libonce_cell-0ba6aecba7086d38}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustchzoLqf/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/html_reporting-fb4fdeef712faa54" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test-harness` (example "html_reporting") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "72f4e166899a340ea322e8c5a5b6a7f3e116bcbf77f7155d76d1467171911443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f4e166899a340ea322e8c5a5b6a7f3e116bcbf77f7155d76d1467171911443", kill_on_drop: false }` [INFO] [stdout] 72f4e166899a340ea322e8c5a5b6a7f3e116bcbf77f7155d76d1467171911443