[INFO] cloning repository https://github.com/zX3no/cdeez [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zX3no/cdeez" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fcdeez", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fcdeez'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e27745c6b656feea4ffc14f3f575e4aa153b8647 [INFO] checking zX3no/cdeez against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fcdeez" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-2-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.bare' to 'false' [INFO] checking zX3no/cdeez against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fcdeez" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zX3no/cdeez on toolchain 2b41547e41f63ea0ca9cb25417ddd569b19e6a50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zX3no/cdeez [INFO] finished tweaking git repo https://github.com/zX3no/cdeez [INFO] tweaked toml for git repo https://github.com/zX3no/cdeez written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zX3no/cdeez 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" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43c83e5b71bf4fce9942becb76a0132808ea4a195b6d454ba628f160070290ea [INFO] running `Command { std: "docker" "start" "-a" "43c83e5b71bf4fce9942becb76a0132808ea4a195b6d454ba628f160070290ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43c83e5b71bf4fce9942becb76a0132808ea4a195b6d454ba628f160070290ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c83e5b71bf4fce9942becb76a0132808ea4a195b6d454ba628f160070290ea", kill_on_drop: false }` [INFO] [stdout] 43c83e5b71bf4fce9942becb76a0132808ea4a195b6d454ba628f160070290ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f62874b09a7b2985054ad57e29af316313c881c3bdcfe74446c3183e10d20dc [INFO] running `Command { std: "docker" "start" "-a" "8f62874b09a7b2985054ad57e29af316313c881c3bdcfe74446c3183e10d20dc", kill_on_drop: false }` [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking cdeez v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found crate `home` [INFO] [stdout] --> src/main.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | let td = args.replace("~", home.to_str().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/2b41547e41f63ea0ca9cb25417ddd569b19e6a50/library/core/src/option.rs:580:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Some` defined here [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 81 | let td = args.replace("~", home::to_str().unwrap()); [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 81 | let td = args.replace("~", Some.to_str().unwrap()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/main.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | for line in db.lines() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/main.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let mut locations = read_db(&db); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_path` in this scope [INFO] [stdout] --> src/main.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | return write_config(&path, &db_path, locations); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_path` in this scope [INFO] [stdout] --> src/main.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | let file = File::create(db_path).expect("Unable to create file"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_path` in this scope [INFO] [stdout] --> src/main.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | write_config(&path, &db_path, locations); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `home` [INFO] [stdout] --> src/main.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | let td = args.replace("~", home.to_str().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/2b41547e41f63ea0ca9cb25417ddd569b19e6a50/library/core/src/option.rs:580:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Some` defined here [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 81 | let td = args.replace("~", home::to_str().unwrap()); [INFO] [stdout] | ~~ [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 81 | let td = args.replace("~", Some.to_str().unwrap()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/main.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | for line in db.lines() { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/main.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let mut locations = read_db(&db); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_path` in this scope [INFO] [stdout] --> src/main.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | return write_config(&path, &db_path, locations); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_path` in this scope [INFO] [stdout] --> src/main.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | let file = File::create(db_path).expect("Unable to create file"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_path` in this scope [INFO] [stdout] --> src/main.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | write_config(&path, &db_path, locations); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&Path` with `Option` [INFO] [stdout] --> src/main.rs:188:61 [INFO] [stdout] | [INFO] [stdout] 188 | locations.retain(|loc| Path::new(&loc.path) != path); [INFO] [stdout] | ^^ no implementation for `&Path == Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&Path` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&Path` implements `PartialEq>` [INFO] [stdout] `&Path` implements `PartialEq>` [INFO] [stdout] `&Path` implements `PartialEq` [INFO] [stdout] `&Path` implements `PartialEq` [INFO] [stdout] `&Path` implements `PartialEq` [INFO] [stdout] `Path` implements `PartialEq<&OsStr>` [INFO] [stdout] `Path` implements `PartialEq>` [INFO] [stdout] `Path` implements `PartialEq>` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&Path` with `Option` [INFO] [stdout] --> src/main.rs:188:61 [INFO] [stdout] | [INFO] [stdout] 188 | locations.retain(|loc| Path::new(&loc.path) != path); [INFO] [stdout] | ^^ no implementation for `&Path == Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&Path` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&Path` implements `PartialEq>` [INFO] [stdout] `&Path` implements `PartialEq>` [INFO] [stdout] `&Path` implements `PartialEq` [INFO] [stdout] `&Path` implements `PartialEq` [INFO] [stdout] `&Path` implements `PartialEq` [INFO] [stdout] `Path` implements `PartialEq<&OsStr>` [INFO] [stdout] `Path` implements `PartialEq>` [INFO] [stdout] `Path` implements `PartialEq>` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 101 | let path = match fs::canonicalize(&target_path) { [INFO] [stdout] | ________________- [INFO] [stdout] 102 | | //Files cannot contain ':', the user must want a drive. [INFO] [stdout] 103 | | //I don't know how this shit works on apples. [INFO] [stdout] 104 | | #[cfg(target_os = "windows")] [INFO] [stdout] ... | [INFO] [stdout] 118 | | Ok(path) => path, [INFO] [stdout] | | ---- this is found to be of type `PathBuf` [INFO] [stdout] ... | [INFO] [stdout] 199 | | path [INFO] [stdout] | | ^^^^ expected `PathBuf`, found `Option` [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | }; [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PathBuf` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 200 | }.expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 101 | let path = match fs::canonicalize(&target_path) { [INFO] [stdout] | ________________- [INFO] [stdout] 102 | | //Files cannot contain ':', the user must want a drive. [INFO] [stdout] 103 | | //I don't know how this shit works on apples. [INFO] [stdout] 104 | | #[cfg(target_os = "windows")] [INFO] [stdout] ... | [INFO] [stdout] 118 | | Ok(path) => path, [INFO] [stdout] | | ---- this is found to be of type `PathBuf` [INFO] [stdout] ... | [INFO] [stdout] 199 | | path [INFO] [stdout] | | ^^^^ expected `PathBuf`, found `Option` [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | }; [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PathBuf` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 200 | }.expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cdeez` (bin "cdeez" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cdeez` (bin "cdeez") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8f62874b09a7b2985054ad57e29af316313c881c3bdcfe74446c3183e10d20dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f62874b09a7b2985054ad57e29af316313c881c3bdcfe74446c3183e10d20dc", kill_on_drop: false }` [INFO] [stdout] 8f62874b09a7b2985054ad57e29af316313c881c3bdcfe74446c3183e10d20dc