[INFO] fetching crate docker-activity 1.0.0... [INFO] testing docker-activity-1.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate docker-activity 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate docker-activity 1.0.0 [INFO] finished tweaking crates.io crate docker-activity 1.0.0 [INFO] tweaked toml for crates.io crate docker-activity 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate docker-activity 1.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate docker-activity 1.0.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 142800182c81eea306321c5ee09d68aa5428ac91310eb5fd9752652c5e2503c7 [INFO] running `Command { std: "docker" "start" "-a" "142800182c81eea306321c5ee09d68aa5428ac91310eb5fd9752652c5e2503c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "142800182c81eea306321c5ee09d68aa5428ac91310eb5fd9752652c5e2503c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142800182c81eea306321c5ee09d68aa5428ac91310eb5fd9752652c5e2503c7", kill_on_drop: false }` [INFO] [stdout] 142800182c81eea306321c5ee09d68aa5428ac91310eb5fd9752652c5e2503c7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc2581f7e54e528dbe5b7eb9c34d03e35dd53a6152e0fc47c81d9f3fe43fb88b [INFO] running `Command { std: "docker" "start" "-a" "fc2581f7e54e528dbe5b7eb9c34d03e35dd53a6152e0fc47c81d9f3fe43fb88b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling procfs v0.11.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.3 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling powercap v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_with v1.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bollard-stubs v1.41.0 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling bollard v0.11.0 [INFO] [stderr] Compiling docker-activity v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/enrichment/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Enricher: Send { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn reset(&mut self) {} [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 `0` is never read [INFO] [stdout] --> src/error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Io(std::io::Error), [INFO] [stdout] 3 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Custom(String), [INFO] [stdout] 4 + Custom(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "fc2581f7e54e528dbe5b7eb9c34d03e35dd53a6152e0fc47c81d9f3fe43fb88b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2581f7e54e528dbe5b7eb9c34d03e35dd53a6152e0fc47c81d9f3fe43fb88b", kill_on_drop: false }` [INFO] [stdout] fc2581f7e54e528dbe5b7eb9c34d03e35dd53a6152e0fc47c81d9f3fe43fb88b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd59f835a8734dc14ba74f0088d8b1d7f52917f30f707daa211737a4a2d7aff [INFO] running `Command { std: "docker" "start" "-a" "acd59f835a8734dc14ba74f0088d8b1d7f52917f30f707daa211737a4a2d7aff", kill_on_drop: false }` [INFO] [stderr] Compiling docker-activity v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/enrichment/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Enricher: Send { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn reset(&mut self) {} [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 `0` is never read [INFO] [stdout] --> src/error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Io(std::io::Error), [INFO] [stdout] 3 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Custom(String), [INFO] [stdout] 4 + Custom(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "acd59f835a8734dc14ba74f0088d8b1d7f52917f30f707daa211737a4a2d7aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd59f835a8734dc14ba74f0088d8b1d7f52917f30f707daa211737a4a2d7aff", kill_on_drop: false }` [INFO] [stdout] acd59f835a8734dc14ba74f0088d8b1d7f52917f30f707daa211737a4a2d7aff [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99536b6eec8c4417c293d26e6d165bfbe52ec0a95a8fc2eb6022a0669ba7f42c [INFO] running `Command { std: "docker" "start" "-a" "99536b6eec8c4417c293d26e6d165bfbe52ec0a95a8fc2eb6022a0669ba7f42c", kill_on_drop: false }` [INFO] [stderr] warning: method `reset` is never used [INFO] [stderr] --> src/enrichment/mod.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait Enricher: Send { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 14 | fn reset(&mut self) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | Io(std::io::Error), [INFO] [stderr] | -- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 3 - Io(std::io::Error), [INFO] [stderr] 3 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | Custom(String), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 4 - Custom(String), [INFO] [stderr] 4 + Custom(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `docker-activity` (bin "docker-activity" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/docker_activity-f94514f5ae9a1d39) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] {"containerId":"hello","containerName":"world","ts":1234,"pidCount":12,"pidLimit":20,"memoryUsage":14,"memoryLimit":null,"cpuPercent":0.89,"cpuCount":2,"cpuEnergy":0.23} [INFO] [stdout] test exporter::stdout::tests::unix_socket_should_receive ... ok [INFO] [stdout] test exporter::socket::tests::unix_socket_should_receive ... ok [INFO] [stdout] test exporter::file::tests::unix_socket_should_receive ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99536b6eec8c4417c293d26e6d165bfbe52ec0a95a8fc2eb6022a0669ba7f42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99536b6eec8c4417c293d26e6d165bfbe52ec0a95a8fc2eb6022a0669ba7f42c", kill_on_drop: false }` [INFO] [stdout] 99536b6eec8c4417c293d26e6d165bfbe52ec0a95a8fc2eb6022a0669ba7f42c