[INFO] cloning repository https://github.com/vladvasiliu/file_upload_exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vladvasiliu/file_upload_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladvasiliu%2Ffile_upload_exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladvasiliu%2Ffile_upload_exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b9bdd69075c831ab8f1c927e126a97f7c49c421 [INFO] building vladvasiliu/file_upload_exporter against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladvasiliu%2Ffile_upload_exporter" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vladvasiliu/file_upload_exporter on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vladvasiliu/file_upload_exporter [INFO] finished tweaking git repo https://github.com/vladvasiliu/file_upload_exporter [INFO] tweaked toml for git repo https://github.com/vladvasiliu/file_upload_exporter written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vladvasiliu/file_upload_exporter 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3706b4ec64fabaf399167edbc4d5e9e02d474c9daf10dbd07159929c578afe1 [INFO] running `Command { std: "docker" "start" "-a" "f3706b4ec64fabaf399167edbc4d5e9e02d474c9daf10dbd07159929c578afe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3706b4ec64fabaf399167edbc4d5e9e02d474c9daf10dbd07159929c578afe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3706b4ec64fabaf399167edbc4d5e9e02d474c9daf10dbd07159929c578afe1", kill_on_drop: false }` [INFO] [stdout] f3706b4ec64fabaf399167edbc4d5e9e02d474c9daf10dbd07159929c578afe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b970f601769b8fc367e1310e37e0ba6b41884236517ed6d59e510c6775e5b286 [INFO] running `Command { std: "docker" "start" "-a" "b970f601769b8fc367e1310e37e0ba6b41884236517ed6d59e510c6775e5b286", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling prometheus-client v0.23.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling config v0.15.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling file_upload_exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, instrument, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listen_port` is never read [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 64 | listen_port: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exporter` is never constructed [INFO] [stdout] --> src/exporter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Exporter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/exporter.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Exporter { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(file_walkers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusLabels` is never constructed [INFO] [stdout] --> src/exporter.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct StatusLabels { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusValue` is never used [INFO] [stdout] --> src/exporter.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | enum StatusValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DurationLabels` is never constructed [INFO] [stdout] --> src/exporter.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct DurationLabels { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `labels` is never read [INFO] [stdout] --> src/file_walker.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DirWalker { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | labels: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirWalker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | encode_registry(&mut output, ®istry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = encode_registry(&mut output, ®istry); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.70s [INFO] running `Command { std: "docker" "inspect" "b970f601769b8fc367e1310e37e0ba6b41884236517ed6d59e510c6775e5b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b970f601769b8fc367e1310e37e0ba6b41884236517ed6d59e510c6775e5b286", kill_on_drop: false }` [INFO] [stdout] b970f601769b8fc367e1310e37e0ba6b41884236517ed6d59e510c6775e5b286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f2673e3150e880d5c83b5725f3501ab570d0f969388422434b54c772470f890 [INFO] running `Command { std: "docker" "start" "-a" "0f2673e3150e880d5c83b5725f3501ab570d0f969388422434b54c772470f890", kill_on_drop: false }` [INFO] [stderr] Compiling file_upload_exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{error, info, instrument, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listen_port` is never read [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 64 | listen_port: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exporter` is never constructed [INFO] [stdout] --> src/exporter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Exporter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/exporter.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Exporter { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(file_walkers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusLabels` is never constructed [INFO] [stdout] --> src/exporter.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct StatusLabels { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusValue` is never used [INFO] [stdout] --> src/exporter.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | enum StatusValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DurationLabels` is never constructed [INFO] [stdout] --> src/exporter.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct DurationLabels { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `labels` is never read [INFO] [stdout] --> src/file_walker.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DirWalker { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | labels: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirWalker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | encode_registry(&mut output, ®istry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = encode_registry(&mut output, ®istry); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "0f2673e3150e880d5c83b5725f3501ab570d0f969388422434b54c772470f890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f2673e3150e880d5c83b5725f3501ab570d0f969388422434b54c772470f890", kill_on_drop: false }` [INFO] [stdout] 0f2673e3150e880d5c83b5725f3501ab570d0f969388422434b54c772470f890