[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#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fcdeez" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zX3no/cdeez on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a313b3848bae3169c6a529f81c20aad18ba43c7c5e04a00ecfeff67f93ceb3a
[INFO] running `Command { std: "docker" "start" "-a" "6a313b3848bae3169c6a529f81c20aad18ba43c7c5e04a00ecfeff67f93ceb3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a313b3848bae3169c6a529f81c20aad18ba43c7c5e04a00ecfeff67f93ceb3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a313b3848bae3169c6a529f81c20aad18ba43c7c5e04a00ecfeff67f93ceb3a", kill_on_drop: false }`
[INFO] [stdout] 6a313b3848bae3169c6a529f81c20aad18ba43c7c5e04a00ecfeff67f93ceb3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a27cf132605cf5a50ea38a2a69e1da4a355497b560d041e8b385785a7840ee0f
[INFO] running `Command { std: "docker" "start" "-a" "a27cf132605cf5a50ea38a2a69e1da4a355497b560d041e8b385785a7840ee0f", kill_on_drop: false }`
[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]    |
[INFO] [stdout]   --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/option.rs:608:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named tuple variant `Some` defined here
[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] 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("~", home.to_str().unwrap());
[INFO] [stdout] 81 +     let td = args.replace("~", Some.to_str().unwrap());
[INFO] [stdout]    |
[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]    |
[INFO] [stdout]   --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/option.rs:608:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named tuple variant `Some` defined here
[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] 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("~", home.to_str().unwrap());
[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: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` 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: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: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[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<PathBuf>`
[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<PathBuf>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<Option<PathBuf>>` is not implemented for `&Path`
[INFO] [stdout]     = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]               `&Path` implements `PartialEq<Cow<'_, OsStr>>`
[INFO] [stdout]               `&Path` implements `PartialEq<Cow<'_, Path>>`
[INFO] [stdout]               `&Path` implements `PartialEq<OsStr>`
[INFO] [stdout]               `&Path` implements `PartialEq<OsString>`
[INFO] [stdout]               `&Path` implements `PartialEq<PathBuf>`
[INFO] [stdout]               `Path` implements `PartialEq<&OsStr>`
[INFO] [stdout]               `Path` implements `PartialEq<Cow<'_, OsStr>>`
[INFO] [stdout]               `Path` implements `PartialEq<Cow<'_, Path>>`
[INFO] [stdout]             and 6 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `&Path` with `Option<PathBuf>`
[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<PathBuf>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<Option<PathBuf>>` is not implemented for `&Path`
[INFO] [stdout]     = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]               `&Path` implements `PartialEq<Cow<'_, OsStr>>`
[INFO] [stdout]               `&Path` implements `PartialEq<Cow<'_, Path>>`
[INFO] [stdout]               `&Path` implements `PartialEq<OsStr>`
[INFO] [stdout]               `&Path` implements `PartialEq<OsString>`
[INFO] [stdout]               `&Path` implements `PartialEq<PathBuf>`
[INFO] [stdout]               `Path` implements `PartialEq<&OsStr>`
[INFO] [stdout]               `Path` implements `PartialEq<Cow<'_, OsStr>>`
[INFO] [stdout]               `Path` implements `PartialEq<Cow<'_, Path>>`
[INFO] [stdout]             and 6 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<PathBuf>`
[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<PathBuf>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<PathBuf>` 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<PathBuf>`
[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<PathBuf>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<PathBuf>` 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] 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] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cdeez` (bin "cdeez") 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" test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "a27cf132605cf5a50ea38a2a69e1da4a355497b560d041e8b385785a7840ee0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a27cf132605cf5a50ea38a2a69e1da4a355497b560d041e8b385785a7840ee0f", kill_on_drop: false }`
[INFO] [stdout] a27cf132605cf5a50ea38a2a69e1da4a355497b560d041e8b385785a7840ee0f
