[INFO] cloning repository https://github.com/MordragT/megadvc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MordragT/megadvc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordragT%2Fmegadvc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordragT%2Fmegadvc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 909b5c8d95384119a6abcdcdffa0e8747dbf7238 [INFO] checking MordragT/megadvc against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordragT%2Fmegadvc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MordragT/megadvc [INFO] finished tweaking git repo https://github.com/MordragT/megadvc [INFO] tweaked toml for git repo https://github.com/MordragT/megadvc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MordragT/megadvc on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MordragT/megadvc 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.33 [INFO] [stderr] Downloaded thiserror v1.0.33 [INFO] [stderr] Downloaded console v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ec427ebb6987c5ea66f14753571a63cfbec273408f4d19d3880331363e2f6ba [INFO] running `Command { std: "docker" "start" "-a" "2ec427ebb6987c5ea66f14753571a63cfbec273408f4d19d3880331363e2f6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec427ebb6987c5ea66f14753571a63cfbec273408f4d19d3880331363e2f6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec427ebb6987c5ea66f14753571a63cfbec273408f4d19d3880331363e2f6ba", kill_on_drop: false }` [INFO] [stdout] 2ec427ebb6987c5ea66f14753571a63cfbec273408f4d19d3880331363e2f6ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e192b63deee3b5438d742c74f827b720f5c26a927b7a6582b52167353ecaa439 [INFO] running `Command { std: "docker" "start" "-a" "e192b63deee3b5438d742c74f827b720f5c26a927b7a6582b52167353ecaa439", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking generic-array v0.14.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking thiserror v1.0.33 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking megadvc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/status.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | lock::{Hash, LocalLock, Lock, LockError}, [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: `HashMap` [INFO] [stdout] --> src/status.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | files: HashSet<(&'a Path)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - files: HashSet<(&'a Path)>, [INFO] [stdout] 31 + files: HashSet<&'a Path >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | staged: HashSet<(&'a PathBuf)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - staged: HashSet<(&'a PathBuf)>, [INFO] [stdout] 32 + staged: HashSet<&'a PathBuf >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | to_remove: HashSet<(&'a PathBuf)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - to_remove: HashSet<(&'a PathBuf)>, [INFO] [stdout] 33 + to_remove: HashSet<&'a PathBuf >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | added: HashSet<(&'a Path)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - added: HashSet<(&'a Path)>, [INFO] [stdout] 35 + added: HashSet<&'a Path >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | deleted: HashSet<(&'a Path)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - deleted: HashSet<(&'a Path)>, [INFO] [stdout] 36 + deleted: HashSet<&'a Path >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push::*` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use push::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/megacmd.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `rm` and `mv` are never used [INFO] [stdout] --> src/megacmd.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl MegaCmd { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn rm>(remote_path: P) -> MegaResult<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn mv, D: AsRef>(remote_src: S, remote_dest: D) -> MegaResult<()> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/status.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LockStatus<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | files: HashSet<(&'a Path)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockStatus` 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 import: `Hash` [INFO] [stdout] --> src/status.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | lock::{Hash, LocalLock, Lock, LockError}, [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: `HashMap` [INFO] [stdout] --> src/status.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | files: HashSet<(&'a Path)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - files: HashSet<(&'a Path)>, [INFO] [stdout] 31 + files: HashSet<&'a Path >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | staged: HashSet<(&'a PathBuf)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - staged: HashSet<(&'a PathBuf)>, [INFO] [stdout] 32 + staged: HashSet<&'a PathBuf >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | to_remove: HashSet<(&'a PathBuf)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - to_remove: HashSet<(&'a PathBuf)>, [INFO] [stdout] 33 + to_remove: HashSet<&'a PathBuf >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | added: HashSet<(&'a Path)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - added: HashSet<(&'a Path)>, [INFO] [stdout] 35 + added: HashSet<&'a Path >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/status.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | deleted: HashSet<(&'a Path)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - deleted: HashSet<(&'a Path)>, [INFO] [stdout] 36 + deleted: HashSet<&'a Path >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push::*` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use push::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/megacmd.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | io::{self, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `rm` and `mv` are never used [INFO] [stdout] --> src/megacmd.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl MegaCmd { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn rm>(remote_path: P) -> MegaResult<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn mv, D: AsRef>(remote_src: S, remote_dest: D) -> MegaResult<()> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/status.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LockStatus<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | files: HashSet<(&'a Path)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.50s [INFO] running `Command { std: "docker" "inspect" "e192b63deee3b5438d742c74f827b720f5c26a927b7a6582b52167353ecaa439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e192b63deee3b5438d742c74f827b720f5c26a927b7a6582b52167353ecaa439", kill_on_drop: false }` [INFO] [stdout] e192b63deee3b5438d742c74f827b720f5c26a927b7a6582b52167353ecaa439