[INFO] cloning repository https://github.com/rinsuki/mayakashi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rinsuki/mayakashi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki%2Fmayakashi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki%2Fmayakashi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 868bd9d2624808f5887c6468e250037fdaa08157 [INFO] checking rinsuki/mayakashi against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki%2Fmayakashi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rinsuki/mayakashi [INFO] finished tweaking git repo https://github.com/rinsuki/mayakashi [INFO] tweaked toml for git repo https://github.com/rinsuki/mayakashi written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rinsuki/mayakashi on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rinsuki/mayakashi 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rinsuki/zstd-rs` [INFO] [stderr] Updating git submodule `https://github.com/facebook/zstd` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-automata v0.4.4 [INFO] [stderr] Downloaded lz4_flex v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4fc340c701d1174683cbf6593f9685828e93bc12c02c2f979bdb9d911f57fc1 [INFO] running `Command { std: "docker" "start" "-a" "f4fc340c701d1174683cbf6593f9685828e93bc12c02c2f979bdb9d911f57fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4fc340c701d1174683cbf6593f9685828e93bc12c02c2f979bdb9d911f57fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4fc340c701d1174683cbf6593f9685828e93bc12c02c2f979bdb9d911f57fc1", kill_on_drop: false }` [INFO] [stdout] f4fc340c701d1174683cbf6593f9685828e93bc12c02c2f979bdb9d911f57fc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fc0f9c204239a8821a31722ac2b94abb7a7279c45244bff5a02fc510bf05555 [INFO] running `Command { std: "docker" "start" "-a" "0fc0f9c204239a8821a31722ac2b94abb7a7279c45244bff5a02fc510bf05555", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling zstd-safe v7.0.0 (https://github.com/rinsuki/zstd-rs?rev=5256f2d13ce16962dd1283397112f1a15740792c#5256f2d1) [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking lz4_flex v0.11.2 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 (https://github.com/rinsuki/zstd-rs?rev=5256f2d13ce16962dd1283397112f1a15740792c#5256f2d1) [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Checking zstd v0.13.0 (https://github.com/rinsuki/zstd-rs?rev=5256f2d13ce16962dd1283397112f1a15740792c#5256f2d1) [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Compiling mayakashi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking lz4 v1.24.0 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/cmd/create.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap, HashSet, VecDeque}, ffi::OsString, io::{Read, Seek, Write}, path::PathBuf, sync::{Arc, Mutex},... [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: `prost::Message` [INFO] [stdout] --> src/cmd/create.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/cmd/create.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap, HashSet, VecDeque}, ffi::OsString, io::{Read, Seek, Write}, path::PathBuf, sync::{Arc, Mutex},... [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: `prost::Message` [INFO] [stdout] --> src/cmd/create.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/create.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut chunks = Vec::::new(); [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: unused variable: `chunks` [INFO] [stdout] --> src/cmd/create.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut chunks = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [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/cmd/create.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let mut already_well_known_hashes = Arc::new(Mutex::new(HashSet::>::new())); [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/cmd/create.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let mut deduped_file_entries = Arc::new(Mutex::new(Vec::::new())); [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/cmd/create.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut entries = Vec::::with_capacity(files_count); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directories` [INFO] [stdout] --> src/cmd/create.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let (mut files, directories) = walk_dir(&args.input); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/cmd/create.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut entries = Vec::::with_capacity(files_count); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/split.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut offset = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/cmd/split.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut offset = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/cmd/create.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct FileInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 28 | path: PathBuf, [INFO] [stdout] 29 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/cmd/create.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 54 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/cmd/split.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/create.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut chunks = Vec::::new(); [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: unused variable: `chunks` [INFO] [stdout] --> src/cmd/create.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut chunks = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [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/cmd/create.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let mut already_well_known_hashes = Arc::new(Mutex::new(HashSet::>::new())); [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/cmd/create.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let mut deduped_file_entries = Arc::new(Mutex::new(Vec::::new())); [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/cmd/create.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut entries = Vec::::with_capacity(files_count); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directories` [INFO] [stdout] --> src/cmd/create.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let (mut files, directories) = walk_dir(&args.input); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/cmd/create.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut entries = Vec::::with_capacity(files_count); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/split.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut offset = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/cmd/split.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut offset = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/cmd/create.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct FileInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 28 | path: PathBuf, [INFO] [stdout] 29 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/cmd/create.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 54 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/cmd/split.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.73s [INFO] running `Command { std: "docker" "inspect" "0fc0f9c204239a8821a31722ac2b94abb7a7279c45244bff5a02fc510bf05555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc0f9c204239a8821a31722ac2b94abb7a7279c45244bff5a02fc510bf05555", kill_on_drop: false }` [INFO] [stdout] 0fc0f9c204239a8821a31722ac2b94abb7a7279c45244bff5a02fc510bf05555