[INFO] fetching crate metrical 0.1.1... [INFO] testing metrical-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate metrical 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate metrical 0.1.1 [INFO] finished tweaking crates.io crate metrical 0.1.1 [INFO] tweaked toml for crates.io crate metrical 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate metrical 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding serde-pickle v0.6.3 (available: v1.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iter-read v0.3.1 [INFO] [stderr] Downloaded serde-pickle v0.6.3 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8c9dffaf9094c4b1a6821a25a3edc0ca586edcf887c2cb4f5cd707aac57c6df [INFO] running `Command { std: "docker" "start" "-a" "d8c9dffaf9094c4b1a6821a25a3edc0ca586edcf887c2cb4f5cd707aac57c6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8c9dffaf9094c4b1a6821a25a3edc0ca586edcf887c2cb4f5cd707aac57c6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c9dffaf9094c4b1a6821a25a3edc0ca586edcf887c2cb4f5cd707aac57c6df", kill_on_drop: false }` [INFO] [stdout] d8c9dffaf9094c4b1a6821a25a3edc0ca586edcf887c2cb4f5cd707aac57c6df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c60e15c5064713adfe43d984cfa06fce93b7ac4f3db989e2f0fc93796b80657 [INFO] running `Command { std: "docker" "start" "-a" "7c60e15c5064713adfe43d984cfa06fce93b7ac4f3db989e2f0fc93796b80657", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling metrical v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/shared.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | COLLECTOR.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable 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 0.52s [INFO] running `Command { std: "docker" "inspect" "7c60e15c5064713adfe43d984cfa06fce93b7ac4f3db989e2f0fc93796b80657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c60e15c5064713adfe43d984cfa06fce93b7ac4f3db989e2f0fc93796b80657", kill_on_drop: false }` [INFO] [stdout] 7c60e15c5064713adfe43d984cfa06fce93b7ac4f3db989e2f0fc93796b80657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e50728a5a63731272c8fea34ecf3a2cc9f4cb033998233f0fe75124e3cde430 [INFO] running `Command { std: "docker" "start" "-a" "5e50728a5a63731272c8fea34ecf3a2cc9f4cb033998233f0fe75124e3cde430", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/shared.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | COLLECTOR.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling metrical v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/shared.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | COLLECTOR.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable 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 0.84s [INFO] running `Command { std: "docker" "inspect" "5e50728a5a63731272c8fea34ecf3a2cc9f4cb033998233f0fe75124e3cde430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e50728a5a63731272c8fea34ecf3a2cc9f4cb033998233f0fe75124e3cde430", kill_on_drop: false }` [INFO] [stdout] 5e50728a5a63731272c8fea34ecf3a2cc9f4cb033998233f0fe75124e3cde430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04c3aa67989e48900cde1d1b28cc459c94defb3133a6f6d9687ef2bba273fa71 [INFO] running `Command { std: "docker" "start" "-a" "04c3aa67989e48900cde1d1b28cc459c94defb3133a6f6d9687ef2bba273fa71", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/shared.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | COLLECTOR.as_mut().unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `metrical` (lib) generated 1 warning [INFO] [stderr] warning: `metrical` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/metrical-b911f6ef178d03c3) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test connection::tests::tcp::it_should_send_and_receive_data ... ok [INFO] [stdout] test connection::tests::udp::it_should_send_data ... ok [INFO] [stdout] test metric::counter::test::counter::it_should_work_after_many_additions ... ok [INFO] [stdout] test protocol::test::statsd::it_should_construct_properly ... ok [INFO] [stdout] test protocol::test::uncompressed::it_should_handle_one_metric_per_entry ... ok [INFO] [stdout] test metric::counter::test::counter::test_increment ... ok [INFO] [stdout] test metric::gauge::test::it_should_go_up_and_down ... ok [INFO] [stdout] test metric::timer::test::it_should_correctly_give_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] [stderr] Running tests/use_from_env.rs (/opt/rustwide/target/debug/deps/use_from_env-c15c7b8f80505d9a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_should_allow_configuration_from_the_environment ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test use_from_env` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- it_should_allow_configuration_from_the_environment stdout ---- [INFO] [stdout] Error: ConfigurationInvalid("No value for network protocol environment variable") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] it_should_allow_configuration_from_the_environment [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04c3aa67989e48900cde1d1b28cc459c94defb3133a6f6d9687ef2bba273fa71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c3aa67989e48900cde1d1b28cc459c94defb3133a6f6d9687ef2bba273fa71", kill_on_drop: false }` [INFO] [stdout] 04c3aa67989e48900cde1d1b28cc459c94defb3133a6f6d9687ef2bba273fa71