[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#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fcdeez" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zX3no/cdeez on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b43d8e580bdb7542f076583698666772101a9a12e20b95df370d8b07a15f6762
[INFO] running `Command { std: "docker" "start" "-a" "b43d8e580bdb7542f076583698666772101a9a12e20b95df370d8b07a15f6762", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b43d8e580bdb7542f076583698666772101a9a12e20b95df370d8b07a15f6762", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b43d8e580bdb7542f076583698666772101a9a12e20b95df370d8b07a15f6762", kill_on_drop: false }`
[INFO] [stdout] b43d8e580bdb7542f076583698666772101a9a12e20b95df370d8b07a15f6762
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99492de712fbaf78779b9767193aa2a92859aaded557eb231e19f1aeef590d7e
[INFO] running `Command { std: "docker" "start" "-a" "99492de712fbaf78779b9767193aa2a92859aaded557eb231e19f1aeef590d7e", 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]    |
[INFO] [stdout]   --> /rustc/54e27f559f23913c1d5afb1a0f0114e9e61b81b8/library/core/src/option.rs:602:5
[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/54e27f559f23913c1d5afb1a0f0114e9e61b81b8/library/core/src/option.rs:602:5
[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: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[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<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] 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") 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" "99492de712fbaf78779b9767193aa2a92859aaded557eb231e19f1aeef590d7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99492de712fbaf78779b9767193aa2a92859aaded557eb231e19f1aeef590d7e", kill_on_drop: false }`
[INFO] [stdout] 99492de712fbaf78779b9767193aa2a92859aaded557eb231e19f1aeef590d7e
