[INFO] cloning repository https://github.com/shubham7101/organizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shubham7101/organizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubham7101%2Forganizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubham7101%2Forganizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5677c6c89f28085d3ba1a68fcebd9dc8b9e55825 [INFO] testing shubham7101/organizer against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubham7101%2Forganizer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shubham7101/organizer on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shubham7101/organizer [INFO] finished tweaking git repo https://github.com/shubham7101/organizer [INFO] tweaked toml for git repo https://github.com/shubham7101/organizer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shubham7101/organizer 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb7b28cd9ffbf8580f92690c8e18a0dbc890c7e13a320e207d4ae98fa42fd2d6 [INFO] running `Command { std: "docker" "start" "-a" "cb7b28cd9ffbf8580f92690c8e18a0dbc890c7e13a320e207d4ae98fa42fd2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb7b28cd9ffbf8580f92690c8e18a0dbc890c7e13a320e207d4ae98fa42fd2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7b28cd9ffbf8580f92690c8e18a0dbc890c7e13a320e207d4ae98fa42fd2d6", kill_on_drop: false }` [INFO] [stdout] cb7b28cd9ffbf8580f92690c8e18a0dbc890c7e13a320e207d4ae98fa42fd2d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79c9cba1d915d91cd35850ff14a29bee8e7635fca4d03ae9fca2b071e01a8de7 [INFO] running `Command { std: "docker" "start" "-a" "79c9cba1d915d91cd35850ff14a29bee8e7635fca4d03ae9fca2b071e01a8de7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling organizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/actions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | config::Action::Move(move_cfg) => Box::new(MoveAction::new(&move_cfg.destination, move_cfg.over_ride)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 9 | config::Action::Copy(copy_cfg) => Box::new(CopyAction::new(©_cfg.destination, copy_cfg.over_ride)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 10 | config::Action::Delete => Box::new(DeleteAction::new()), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 11 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.91s [INFO] running `Command { std: "docker" "inspect" "79c9cba1d915d91cd35850ff14a29bee8e7635fca4d03ae9fca2b071e01a8de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c9cba1d915d91cd35850ff14a29bee8e7635fca4d03ae9fca2b071e01a8de7", kill_on_drop: false }` [INFO] [stdout] 79c9cba1d915d91cd35850ff14a29bee8e7635fca4d03ae9fca2b071e01a8de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956fb76ae34c82770c89de5695aec35f8746720d4a11685fd49e957882c3f528 [INFO] running `Command { std: "docker" "start" "-a" "956fb76ae34c82770c89de5695aec35f8746720d4a11685fd49e957882c3f528", kill_on_drop: false }` [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/actions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | config::Action::Move(move_cfg) => Box::new(MoveAction::new(&move_cfg.destination, move_cfg.over_ride)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 9 | config::Action::Copy(copy_cfg) => Box::new(CopyAction::new(©_cfg.destination, copy_cfg.over_ride)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 10 | config::Action::Delete => Box::new(DeleteAction::new()), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 11 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling organizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(filter.matches(Path::new("file.txt"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(filter.matches(Path::new("code.rs"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(!filter.matches(Path::new("image.png"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | assert!(!filter.matches(Path::new("no_extension"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(!filter.matches(Path::new("file.txt"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | assert!(filter.matches(Path::new("code.rs"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(filter.matches(Path::new("image.png"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filters.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | assert!(filter.matches(Path::new("no_extension"))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&FileMetaData`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&FileMetaData` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn matches(&self, file_meta_data: &utils::FileMetaData) -> bool; [INFO] [stdout] | ^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/actions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | config::Action::Move(move_cfg) => Box::new(MoveAction::new(&move_cfg.destination, move_cfg.over_ride)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 9 | config::Action::Copy(copy_cfg) => Box::new(CopyAction::new(©_cfg.destination, copy_cfg.over_ride)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 10 | config::Action::Delete => Box::new(DeleteAction::new()), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 11 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `organizer` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "956fb76ae34c82770c89de5695aec35f8746720d4a11685fd49e957882c3f528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956fb76ae34c82770c89de5695aec35f8746720d4a11685fd49e957882c3f528", kill_on_drop: false }` [INFO] [stdout] 956fb76ae34c82770c89de5695aec35f8746720d4a11685fd49e957882c3f528