[INFO] cloning repository https://github.com/jdrouet/docker-activity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdrouet/docker-activity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdrouet%2Fdocker-activity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdrouet%2Fdocker-activity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8cfd601b5df511e6ee6cd4475e42b4b21bddab2 [INFO] testing jdrouet/docker-activity against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdrouet%2Fdocker-activity" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdrouet/docker-activity on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/jdrouet/docker-activity [INFO] finished tweaking git repo https://github.com/jdrouet/docker-activity [INFO] tweaked toml for git repo https://github.com/jdrouet/docker-activity written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jdrouet/docker-activity 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyperlocal v0.8.0 [INFO] [stderr] Downloaded powercap v0.3.5 [INFO] [stderr] Downloaded clap v3.1.12 [INFO] [stderr] Downloaded bollard-stubs v1.42.0-rc.0 [INFO] [stderr] Downloaded bollard v0.12.0 [INFO] [stderr] Downloaded procfs v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7758796fc538010a50bcb857e77d0fd502d98e76fb36ae54975747226c6d2035 [INFO] running `Command { std: "docker" "start" "-a" "7758796fc538010a50bcb857e77d0fd502d98e76fb36ae54975747226c6d2035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7758796fc538010a50bcb857e77d0fd502d98e76fb36ae54975747226c6d2035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7758796fc538010a50bcb857e77d0fd502d98e76fb36ae54975747226c6d2035", kill_on_drop: false }` [INFO] [stdout] 7758796fc538010a50bcb857e77d0fd502d98e76fb36ae54975747226c6d2035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ded4244e9e2b07998cb9a1cef467e5e40b1e74d5ac4ec38870fa869bf88ef3d [INFO] running `Command { std: "docker" "start" "-a" "6ded4244e9e2b07998cb9a1cef467e5e40b1e74d5ac4ec38870fa869bf88ef3d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling procfs v0.11.1 [INFO] [stderr] Compiling clap_lex v0.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling powercap v0.3.5 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling clap v3.1.12 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling serde_with v1.12.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bollard-stubs v1.42.0-rc.0 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling bollard v0.12.0 [INFO] [stderr] Compiling docker-activity v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 57s [INFO] running `Command { std: "docker" "inspect" "6ded4244e9e2b07998cb9a1cef467e5e40b1e74d5ac4ec38870fa869bf88ef3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ded4244e9e2b07998cb9a1cef467e5e40b1e74d5ac4ec38870fa869bf88ef3d", kill_on_drop: false }` [INFO] [stdout] 6ded4244e9e2b07998cb9a1cef467e5e40b1e74d5ac4ec38870fa869bf88ef3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0babaec319d2d6777e7d6dbdf4a85ddebcdb304fec47508c1a92cf044bb933a2 [INFO] running `Command { std: "docker" "start" "-a" "0babaec319d2d6777e7d6dbdf4a85ddebcdb304fec47508c1a92cf044bb933a2", kill_on_drop: false }` [INFO] [stderr] Compiling docker-activity v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.74s [INFO] running `Command { std: "docker" "inspect" "0babaec319d2d6777e7d6dbdf4a85ddebcdb304fec47508c1a92cf044bb933a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0babaec319d2d6777e7d6dbdf4a85ddebcdb304fec47508c1a92cf044bb933a2", kill_on_drop: false }` [INFO] [stdout] 0babaec319d2d6777e7d6dbdf4a85ddebcdb304fec47508c1a92cf044bb933a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f885dde5876cc3b4b8063f83c1174db5b6c17cc5990beb74888f32836f383936 [INFO] running `Command { std: "docker" "start" "-a" "f885dde5876cc3b4b8063f83c1174db5b6c17cc5990beb74888f32836f383936", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/docker_activity-625a69d1688332ce) [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::socket::tests::unix_socket_should_receive ... ok [INFO] [stdout] test exporter::file::tests::unix_socket_should_receive ... ok [INFO] [stdout] test exporter::stdout::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" "f885dde5876cc3b4b8063f83c1174db5b6c17cc5990beb74888f32836f383936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f885dde5876cc3b4b8063f83c1174db5b6c17cc5990beb74888f32836f383936", kill_on_drop: false }` [INFO] [stdout] f885dde5876cc3b4b8063f83c1174db5b6c17cc5990beb74888f32836f383936