[INFO] cloning repository https://github.com/SixArm/deduplicate-files [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SixArm/deduplicate-files" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSixArm%2Fdeduplicate-files", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSixArm%2Fdeduplicate-files'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fdf6d9d032c3bb6ca0d63391d1172f86a7d55b8 [INFO] testing SixArm/deduplicate-files against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSixArm%2Fdeduplicate-files" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SixArm/deduplicate-files on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SixArm/deduplicate-files [INFO] finished tweaking git repo https://github.com/SixArm/deduplicate-files [INFO] tweaked toml for git repo https://github.com/SixArm/deduplicate-files written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/SixArm/deduplicate-files already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5d88ce1accb44e731c08930fe6659cc597e7a5579e27744adbe1bc00dad4e8a [INFO] running `Command { std: "docker" "start" "-a" "f5d88ce1accb44e731c08930fe6659cc597e7a5579e27744adbe1bc00dad4e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5d88ce1accb44e731c08930fe6659cc597e7a5579e27744adbe1bc00dad4e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d88ce1accb44e731c08930fe6659cc597e7a5579e27744adbe1bc00dad4e8a", kill_on_drop: false }` [INFO] [stdout] f5d88ce1accb44e731c08930fe6659cc597e7a5579e27744adbe1bc00dad4e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 762244d77ccea54d244fa6784984ad21d951a40558c976ab71db73b394c0bc33 [INFO] running `Command { std: "docker" "start" "-a" "762244d77ccea54d244fa6784984ad21d951a40558c976ab71db73b394c0bc33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling sixarm_assert v1.1.1 [INFO] [stderr] Compiling custom_error v1.9.2 [INFO] [stderr] Compiling assure v1.11.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling assertables v3.2.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling sixarm_collections v1.1.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling clap v3.0.0-rc.4 [INFO] [stderr] Compiling deduplicate-directories v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `assure` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod assure; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `assure`, create file "src/assure.rs" or "src/assure/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `util` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod util; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `util`, create file "src/util.rs" or "src/util/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 2 positional arguments in format string, but there is 1 argument [INFO] [stdout] --> src/main.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | if args.verbose > 0 { println!("on_clone path:{:?} path:{:?}", path.as_ref())} [INFO] [stdout] | ^^^^ ^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::file_bytes_eq` [INFO] [stdout] --> src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use util::{file_bytes_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `file_bytes_eq` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/main.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | if args.verbose > 0 { println!("on_clone path:{:?} path:{:?}", path.as_ref())} [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `on_duplicate_file` in this scope [INFO] [stdout] --> src/main.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | ... on_duplicate_file(a_path, b_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want) and `Arg::multiple_values` [INFO] [stdout] --> src/clap.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | .multiple(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | .about("Set the verbosity level")) [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .about("Find files that are cloned i.e. originals (compare --find-clones, --find-uniques)")) [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .about("Find files that are clones i.e. duplicates (compare --find-cloned, --find-uniques)")) [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .about("Find files that are uniques i.e not cloned or clones (compare --find-cloned, --find-clones)")) [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | .about("Print the results i.e. dry run")) [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .about("Delete clones immediately") [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | .about("Recycle clones to the trash folder") [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | .about("Shred clones by secure overwrite") [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | .about("Symlink clones to their originals") [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `about` found for struct `Arg` in the current scope [INFO] [stdout] --> src/clap.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | .about("Hardlink clones to their originals") [INFO] [stdout] | ^^^^^ method not found in `Arg<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want) and `Arg::multiple_values` [INFO] [stdout] --> src/clap.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | .multiple(true)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert_path` found for mutable reference `&mut HashMap>` in the current scope [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | tracker.insert_path(path.as_ref().to_path_buf()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `map` on type `HashMap>` [INFO] [stdout] --> src/main.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | for len in b_tracker.map.keys() { [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `map` on type `HashMap>` [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | if !a_tracker.map.contains_key(len) { continue } [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `map` on type `HashMap>` [INFO] [stdout] --> src/main.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | let a_paths: &SetOfPathBuf = a_tracker.map.get(len).unwrap(); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `map` on type `HashMap>` [INFO] [stdout] --> src/main.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | let b_paths: &SetOfPathBuf = b_tracker.map.get(len).unwrap(); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert_path` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | tracker.insert_path(path.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0583, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deduplicate-directories` due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "762244d77ccea54d244fa6784984ad21d951a40558c976ab71db73b394c0bc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762244d77ccea54d244fa6784984ad21d951a40558c976ab71db73b394c0bc33", kill_on_drop: false }` [INFO] [stdout] 762244d77ccea54d244fa6784984ad21d951a40558c976ab71db73b394c0bc33