[INFO] cloning repository https://github.com/jcaesar/cgroup-memory-prometheus-ex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcaesar/cgroup-memory-prometheus-ex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcaesar%2Fcgroup-memory-prometheus-ex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcaesar%2Fcgroup-memory-prometheus-ex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ab71cb85244a812c25b0509ab6bea0bb9395389 [INFO] testing jcaesar/cgroup-memory-prometheus-ex against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcaesar%2Fcgroup-memory-prometheus-ex" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcaesar/cgroup-memory-prometheus-ex [INFO] finished tweaking git repo https://github.com/jcaesar/cgroup-memory-prometheus-ex [INFO] tweaked toml for git repo https://github.com/jcaesar/cgroup-memory-prometheus-ex written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcaesar/cgroup-memory-prometheus-ex on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcaesar/cgroup-memory-prometheus-ex 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6351a09edcd9a3b9d0b9a85709374c3929c7422541ff442a1853d77bb2c7e16 [INFO] running `Command { std: "docker" "start" "-a" "b6351a09edcd9a3b9d0b9a85709374c3929c7422541ff442a1853d77bb2c7e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6351a09edcd9a3b9d0b9a85709374c3929c7422541ff442a1853d77bb2c7e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6351a09edcd9a3b9d0b9a85709374c3929c7422541ff442a1853d77bb2c7e16", kill_on_drop: false }` [INFO] [stdout] b6351a09edcd9a3b9d0b9a85709374c3929c7422541ff442a1853d77bb2c7e16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 069aa52eeb868db385a78d8a5b8028b0f9e631627c8f57dc5dc473de209642b6 [INFO] running `Command { std: "docker" "start" "-a" "069aa52eeb868db385a78d8a5b8028b0f9e631627c8f57dc5dc473de209642b6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling protobuf v2.10.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling cgroups v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling syn-mid v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling prometheus_exporter v0.4.1 [INFO] [stderr] Compiling proc-macro-error v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.5 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling structopt-derive v0.4.1 [INFO] [stderr] Compiling structopt v0.3.8 [INFO] [stderr] Compiling cgroups v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> main.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 58 - for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stdout] 58 + for entry in fs::read_dir(mem.path())? { while let Ok(entry) = entry { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 58 - for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stdout] 58 + for entry in fs::read_dir(mem.path())? { if let Ok(entry) = entry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.75s [INFO] running `Command { std: "docker" "inspect" "069aa52eeb868db385a78d8a5b8028b0f9e631627c8f57dc5dc473de209642b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069aa52eeb868db385a78d8a5b8028b0f9e631627c8f57dc5dc473de209642b6", kill_on_drop: false }` [INFO] [stdout] 069aa52eeb868db385a78d8a5b8028b0f9e631627c8f57dc5dc473de209642b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 416a604951665729910084830aba24bc297aec4ce32e7c6358f4b7471eb4c682 [INFO] running `Command { std: "docker" "start" "-a" "416a604951665729910084830aba24bc297aec4ce32e7c6358f4b7471eb4c682", kill_on_drop: false }` [INFO] [stderr] Compiling cgroups v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> main.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 58 - for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stdout] 58 + for entry in fs::read_dir(mem.path())? { while let Ok(entry) = entry { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 58 - for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stdout] 58 + for entry in fs::read_dir(mem.path())? { if let Ok(entry) = entry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "416a604951665729910084830aba24bc297aec4ce32e7c6358f4b7471eb4c682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "416a604951665729910084830aba24bc297aec4ce32e7c6358f4b7471eb4c682", kill_on_drop: false }` [INFO] [stdout] 416a604951665729910084830aba24bc297aec4ce32e7c6358f4b7471eb4c682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 557a133ab342d56906b0769a7487f0e392a8a95e4b9f2ece84bea0a8c110656e [INFO] running `Command { std: "docker" "start" "-a" "557a133ab342d56906b0769a7487f0e392a8a95e4b9f2ece84bea0a8c110656e", kill_on_drop: false }` [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> main.rs:58:57 [INFO] [stderr] | [INFO] [stderr] 58 | for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 58 - for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stderr] 58 + for entry in fs::read_dir(mem.path())? { while let Ok(entry) = entry { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 58 - for entry in fs::read_dir(mem.path())? { for entry in entry { [INFO] [stderr] 58 + for entry in fs::read_dir(mem.path())? { if let Ok(entry) = entry { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cgroups` (bin "cgroup-mem-exporter" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] [INFO] [stderr] Running unittests main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cgroup_mem_exporter-b94081fa48df281a) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "557a133ab342d56906b0769a7487f0e392a8a95e4b9f2ece84bea0a8c110656e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557a133ab342d56906b0769a7487f0e392a8a95e4b9f2ece84bea0a8c110656e", kill_on_drop: false }` [INFO] [stdout] 557a133ab342d56906b0769a7487f0e392a8a95e4b9f2ece84bea0a8c110656e