[INFO] cloning repository https://github.com/paulpage/loctree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulpage/loctree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulpage%2Floctree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulpage%2Floctree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b5b7d374ff38cf8b1ef42b46e462dd47b03f78c [INFO] testing paulpage/loctree against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulpage%2Floctree" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/paulpage/loctree [INFO] finished tweaking git repo https://github.com/paulpage/loctree [INFO] tweaked toml for git repo https://github.com/paulpage/loctree written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paulpage/loctree on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/paulpage/loctree 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded grep-searcher v0.1.14 [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded tokei v12.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ba2342bda0f1be207f320792039625248e52d7aa44293f92bd0c8164591645 [INFO] running `Command { std: "docker" "start" "-a" "03ba2342bda0f1be207f320792039625248e52d7aa44293f92bd0c8164591645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ba2342bda0f1be207f320792039625248e52d7aa44293f92bd0c8164591645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ba2342bda0f1be207f320792039625248e52d7aa44293f92bd0c8164591645", kill_on_drop: false }` [INFO] [stdout] 03ba2342bda0f1be207f320792039625248e52d7aa44293f92bd0c8164591645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d0b2dc54afd5474d2d0bc7bf0523009ea915e278d1d8eb9f25a44c3ac99269 [INFO] running `Command { std: "docker" "start" "-a" "39d0b2dc54afd5474d2d0bc7bf0523009ea915e278d1d8eb9f25a44c3ac99269", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling grep-searcher v0.1.14 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tokei v12.1.2 [INFO] [stderr] Compiling loctree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace::TraceLayer` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | trace::TraceLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> src/main.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 364 | for (lang, val) in filters.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let mut filters = &mut state.filters.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | let mut node = &state.tree.children.first_key_value().unwrap().1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathvec` [INFO] [stdout] --> src/main.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let pathvec: Vec = report.name.iter().collect::>().into_iter().map(|p| p.display().to_string()).collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathvec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let stats = Stats { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut node_stats = collect_stats(node, filters); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | let mut stats = collect_stats(child, filters); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_build_filters` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn html_build_filters(root_node: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.42s [INFO] running `Command { std: "docker" "inspect" "39d0b2dc54afd5474d2d0bc7bf0523009ea915e278d1d8eb9f25a44c3ac99269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d0b2dc54afd5474d2d0bc7bf0523009ea915e278d1d8eb9f25a44c3ac99269", kill_on_drop: false }` [INFO] [stdout] 39d0b2dc54afd5474d2d0bc7bf0523009ea915e278d1d8eb9f25a44c3ac99269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fc87d8fdf39ed1e369668edb4b723be7464bb2c2e5caf7d5a42eb13ae1b6c1c [INFO] running `Command { std: "docker" "start" "-a" "1fc87d8fdf39ed1e369668edb4b723be7464bb2c2e5caf7d5a42eb13ae1b6c1c", kill_on_drop: false }` [INFO] [stderr] Compiling loctree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace::TraceLayer` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | trace::TraceLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> src/main.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 364 | for (lang, val) in filters.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let mut filters = &mut state.filters.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | let mut node = &state.tree.children.first_key_value().unwrap().1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathvec` [INFO] [stdout] --> src/main.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let pathvec: Vec = report.name.iter().collect::>().into_iter().map(|p| p.display().to_string()).collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathvec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let stats = Stats { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut node_stats = collect_stats(node, filters); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | let mut stats = collect_stats(child, filters); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_build_filters` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn html_build_filters(root_node: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "1fc87d8fdf39ed1e369668edb4b723be7464bb2c2e5caf7d5a42eb13ae1b6c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc87d8fdf39ed1e369668edb4b723be7464bb2c2e5caf7d5a42eb13ae1b6c1c", kill_on_drop: false }` [INFO] [stdout] 1fc87d8fdf39ed1e369668edb4b723be7464bb2c2e5caf7d5a42eb13ae1b6c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a19d9a78df856502871ce9885d61d3d7e02e65d307d5284f305e2d946322a9e1 [INFO] running `Command { std: "docker" "start" "-a" "a19d9a78df856502871ce9885d61d3d7e02e65d307d5284f305e2d946322a9e1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | http::StatusCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `trace::TraceLayer` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | trace::TraceLayer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lang` [INFO] [stderr] --> src/main.rs:364:18 [INFO] [stderr] | [INFO] [stderr] 364 | for (lang, val) in filters.iter_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:355:13 [INFO] [stderr] | [INFO] [stderr] 355 | let mut filters = &mut state.filters.lock().await; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:413:9 [INFO] [stderr] | [INFO] [stderr] 413 | let mut node = &state.tree.children.first_key_value().unwrap().1; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pathvec` [INFO] [stderr] --> src/main.rs:231:17 [INFO] [stderr] | [INFO] [stderr] 231 | let pathvec: Vec = report.name.iter().collect::>().into_iter().map(|p| p.display().to_string()).collect(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathvec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stats` [INFO] [stderr] --> src/main.rs:233:17 [INFO] [stderr] | [INFO] [stderr] 233 | let stats = Stats { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:296:9 [INFO] [stderr] | [INFO] [stderr] 296 | let mut node_stats = collect_stats(node, filters); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:322:17 [INFO] [stderr] | [INFO] [stderr] 322 | let mut stats = collect_stats(child, filters); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `html_build_filters` is never used [INFO] [stderr] --> src/main.rs:171:4 [INFO] [stderr] | [INFO] [stderr] 171 | fn html_build_filters(root_node: &Node) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `loctree` (bin "loctree" test) generated 10 warnings (run `cargo fix --bin "loctree" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/loctree-c7ef9f4056be441a) [INFO] [stdout] [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" "a19d9a78df856502871ce9885d61d3d7e02e65d307d5284f305e2d946322a9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a19d9a78df856502871ce9885d61d3d7e02e65d307d5284f305e2d946322a9e1", kill_on_drop: false }` [INFO] [stdout] a19d9a78df856502871ce9885d61d3d7e02e65d307d5284f305e2d946322a9e1