[INFO] cloning repository https://github.com/gweakliem/fileorganizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gweakliem/fileorganizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgweakliem%2Ffileorganizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgweakliem%2Ffileorganizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 697901c24610328af443bee677184a7f2ce0d9c3 [INFO] testing gweakliem/fileorganizer against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgweakliem%2Ffileorganizer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gweakliem/fileorganizer [INFO] finished tweaking git repo https://github.com/gweakliem/fileorganizer [INFO] tweaked toml for git repo https://github.com/gweakliem/fileorganizer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gweakliem/fileorganizer on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gweakliem/fileorganizer 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a [INFO] running `Command { std: "docker" "start" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tokio v1.31.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling sha256 v1.3.0 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling fileorganizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/file_tree/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] 9 | pub metadata: fs::Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `name`, `target`, and `metadata` are never read [INFO] [stdout] --> src/file_tree/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Symlink { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub metadata: fs::Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symlink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/file_tree/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Directory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `by_hash` and `by_name` are never used [INFO] [stdout] --> src/file_tree/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl FileIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn by_hash(&self, hash: &String) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn by_name(&self, name: &String) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.79s [INFO] running `Command { std: "docker" "inspect" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling fileorganizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/file_tree/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] 9 | pub metadata: fs::Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `name`, `target`, and `metadata` are never read [INFO] [stdout] --> src/file_tree/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Symlink { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub metadata: fs::Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symlink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/file_tree/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Directory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `by_hash` is never used [INFO] [stdout] --> src/file_tree/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl FileIndex { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn by_hash(&self, hash: &String) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: field `metadata` is never read [INFO] [stderr] --> src/file_tree/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct File { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 8 | pub name: String, [INFO] [stderr] 9 | pub metadata: fs::Metadata, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `target`, and `metadata` are never read [INFO] [stderr] --> src/file_tree/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Symlink { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 14 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | pub target: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | pub metadata: fs::Metadata, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Symlink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/file_tree/mod.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Directory { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 21 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Directory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `by_hash` is never used [INFO] [stderr] --> src/file_tree/mod.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 38 | impl FileIndex { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn by_hash(&self, hash: &String) -> Option<&Vec> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fileorganizer` (bin "fileorganizer" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/fileorganizer/959d5339933f180c/out/fileorganizer-959d5339933f180c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test file_tree::tests::identical_names_diff_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a", kill_on_drop: false }` [INFO] [stdout] 03d8c4a85c7621367dd75b47da7446f0bdf028b8117d26d6b6c33d5b25de0e5a