[INFO] fetching crate rust_rest_test 0.1.1... [INFO] testing rust_rest_test-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rust_rest_test 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rust_rest_test 0.1.1 [INFO] finished tweaking crates.io crate rust_rest_test 0.1.1 [INFO] tweaked toml for crates.io crate rust_rest_test 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_rest_test 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded curl v0.4.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5200dfdfb459cb6927ca11a5ccce55dd06572818cc32f3bc0d5393879a5f9077 [INFO] running `Command { std: "docker" "start" "-a" "5200dfdfb459cb6927ca11a5ccce55dd06572818cc32f3bc0d5393879a5f9077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5200dfdfb459cb6927ca11a5ccce55dd06572818cc32f3bc0d5393879a5f9077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5200dfdfb459cb6927ca11a5ccce55dd06572818cc32f3bc0d5393879a5f9077", kill_on_drop: false }` [INFO] [stdout] 5200dfdfb459cb6927ca11a5ccce55dd06572818cc32f3bc0d5393879a5f9077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94e63053f7b68b78f2360dd8f509fe32f740403ecc5202faa98aae0c2eac8ff2 [INFO] running `Command { std: "docker" "start" "-a" "94e63053f7b68b78f2360dd8f509fe32f740403ecc5202faa98aae0c2eac8ff2", kill_on_drop: false }` [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rust_rest_test v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/static_vars.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { HAS_ERR_VAR.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.85s [INFO] running `Command { std: "docker" "inspect" "94e63053f7b68b78f2360dd8f509fe32f740403ecc5202faa98aae0c2eac8ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e63053f7b68b78f2360dd8f509fe32f740403ecc5202faa98aae0c2eac8ff2", kill_on_drop: false }` [INFO] [stdout] 94e63053f7b68b78f2360dd8f509fe32f740403ecc5202faa98aae0c2eac8ff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 511b7a3059ed02cb7bec332b8c1190a4d00ce26d575bdd14401801e886242ceb [INFO] running `Command { std: "docker" "start" "-a" "511b7a3059ed02cb7bec332b8c1190a4d00ce26d575bdd14401801e886242ceb", kill_on_drop: false }` [INFO] [stderr] Compiling rust_rest_test v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/static_vars.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { HAS_ERR_VAR.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "511b7a3059ed02cb7bec332b8c1190a4d00ce26d575bdd14401801e886242ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511b7a3059ed02cb7bec332b8c1190a4d00ce26d575bdd14401801e886242ceb", kill_on_drop: false }` [INFO] [stdout] 511b7a3059ed02cb7bec332b8c1190a4d00ce26d575bdd14401801e886242ceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f59cca606cbf1afc4e7298d349106a606618f4b29e82e6b049306919a72ff17c [INFO] running `Command { std: "docker" "start" "-a" "f59cca606cbf1afc4e7298d349106a606618f4b29e82e6b049306919a72ff17c", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/static_vars.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | unsafe { HAS_ERR_VAR.clone() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_rest_test` (bin "rust_rest_test" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_rest_test-e12df7d5887ac815) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test parser::types::tabs::tests::correct ... ok [INFO] [stdout] test parser::types::endpoint::tests::fail ... ok [INFO] [stdout] test parser::types::single_line_text::tests::fail ... ok [INFO] [stdout] test parser::types::tabs::tests::fail ... ok [INFO] [stdout] test parser::types::tc_description::tests::fail ... ok [INFO] [stdout] test parser::types::tc_req_content::tests::correct ... ok [INFO] [stdout] test parser::types::tc_req_type::tests::fail ... ok [INFO] [stdout] test parser::types::tc_request::tests::correct ... ok [INFO] [stdout] test parser::types::tc_req_type::tests::correct ... ok [INFO] [stdout] test parser::types::tc_res_c_json_free::tests::correct ... ok [INFO] [stdout] test parser::types::endpoint::tests::correct ... ok [INFO] [stdout] test parser::types::tc_request::tests::fail ... ok [INFO] [stdout] test parser::types::tc_req_content::tests::fail ... ok [INFO] [stdout] test parser::types::tc_description::tests::correct ... ok [INFO] [stdout] test parser::types::single_line_text::tests::correct ... ok [INFO] [stdout] test parser::types::tc_res_status::tests::fail ... ok [INFO] [stdout] test parser::types::tc_response::tests::correct ... ok [INFO] [stdout] test parser::types::tc_res_c_json_free::tests::fail ... ok [INFO] [stdout] test parser::types::tc_res_c_json_strict::tests::fail ... ok [INFO] [stdout] test parser::types::tc_res_content::tests::correct ... ok [INFO] [stdout] test parser::types::tc_res_content::tests::fail ... ok [INFO] [stdout] test parser::types::tc_res_c_json_strict::tests::correct ... ok [INFO] [stdout] test parser::types::tc_res_status::tests::correct ... ok [INFO] [stdout] test parser::types::tc_response::tests::fail ... ok [INFO] [stdout] test parser::types::whitespace::tests::fail ... ok [INFO] [stdout] test parser::types::whitespace::tests::correct ... ok [INFO] [stdout] test parser::types::tc_title::tests::fail ... ok [INFO] [stdout] test parser::types::tc_title::tests::correct ... ok [INFO] [stdout] test parser::types::test_case::tests::correct ... ok [INFO] [stdout] test parser::types::test_case::tests::fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f59cca606cbf1afc4e7298d349106a606618f4b29e82e6b049306919a72ff17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59cca606cbf1afc4e7298d349106a606618f4b29e82e6b049306919a72ff17c", kill_on_drop: false }` [INFO] [stdout] f59cca606cbf1afc4e7298d349106a606618f4b29e82e6b049306919a72ff17c