[INFO] fetching crate metrical 0.1.1... [INFO] testing metrical-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate metrical 0.1.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate metrical 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 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" "+562dee4820c458d823175268e41601d4c060588a" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-pickle v0.6.3 [INFO] [stderr] Downloaded quote v1.0.45 [INFO] [stderr] Downloaded unicode-ident v1.0.24 [INFO] [stderr] Downloaded iter-read v0.3.1 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.106 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded syn v2.0.117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbdda6ae4c27bed51af30b78126027e8a31556e3f71c7d6aa22a74dc4b728aaa [INFO] running `Command { std: "docker" "start" "-a" "bbdda6ae4c27bed51af30b78126027e8a31556e3f71c7d6aa22a74dc4b728aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbdda6ae4c27bed51af30b78126027e8a31556e3f71c7d6aa22a74dc4b728aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbdda6ae4c27bed51af30b78126027e8a31556e3f71c7d6aa22a74dc4b728aaa", kill_on_drop: false }` [INFO] [stdout] bbdda6ae4c27bed51af30b78126027e8a31556e3f71c7d6aa22a74dc4b728aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9481358d1a7cff47d960b185bfd8a77a4dafe68a2d6e686b0dee03b8a60345ce [INFO] running `Command { std: "docker" "start" "-a" "9481358d1a7cff47d960b185bfd8a77a4dafe68a2d6e686b0dee03b8a60345ce", 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 byteorder v1.5.0 [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: 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: for more information, see [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.64s [INFO] running `Command { std: "docker" "inspect" "9481358d1a7cff47d960b185bfd8a77a4dafe68a2d6e686b0dee03b8a60345ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9481358d1a7cff47d960b185bfd8a77a4dafe68a2d6e686b0dee03b8a60345ce", kill_on_drop: false }` [INFO] [stdout] 9481358d1a7cff47d960b185bfd8a77a4dafe68a2d6e686b0dee03b8a60345ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55e8dcb15f857e8f08a83d67dc52b09bfc15a655aa117ab0b93cbba542c3969 [INFO] running `Command { std: "docker" "start" "-a" "f55e8dcb15f857e8f08a83d67dc52b09bfc15a655aa117ab0b93cbba542c3969", 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: 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: for more information, see [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: 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: for more information, see [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.79s [INFO] running `Command { std: "docker" "inspect" "f55e8dcb15f857e8f08a83d67dc52b09bfc15a655aa117ab0b93cbba542c3969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55e8dcb15f857e8f08a83d67dc52b09bfc15a655aa117ab0b93cbba542c3969", kill_on_drop: false }` [INFO] [stdout] f55e8dcb15f857e8f08a83d67dc52b09bfc15a655aa117ab0b93cbba542c3969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62be7696c118244ad05a542afba4f4233fc273b174d8022f87d535d8eec2a2fa [INFO] running `Command { std: "docker" "start" "-a" "62be7696c118244ad05a542afba4f4233fc273b174d8022f87d535d8eec2a2fa", 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: 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: for more information, see [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/metrical-c79c96c604ab2368) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test connection::tests::udp::it_should_send_data ... ok [INFO] [stdout] test connection::tests::tcp::it_should_send_and_receive_data ... ok [INFO] [stdout] test metric::gauge::test::it_should_go_up_and_down ... ok [INFO] [stdout] test metric::counter::test::counter::test_increment ... 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::timer::test::it_should_correctly_give_time ... ok [INFO] [stderr] Running tests/use_from_env.rs (/opt/rustwide/target/debug/deps/use_from_env-9d58cfe80ca47d29) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_should_allow_configuration_from_the_environment ... FAILED [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] [stderr] error: test failed, to rerun pass `--test use_from_env` [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "62be7696c118244ad05a542afba4f4233fc273b174d8022f87d535d8eec2a2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62be7696c118244ad05a542afba4f4233fc273b174d8022f87d535d8eec2a2fa", kill_on_drop: false }` [INFO] [stdout] 62be7696c118244ad05a542afba4f4233fc273b174d8022f87d535d8eec2a2fa