[INFO] cloning repository https://github.com/cyndis/promptc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyndis/promptc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fpromptc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fpromptc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1a453e2a24a1c41b417733d00d0cec7e254c77e [INFO] checking cyndis/promptc against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fpromptc" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyndis/promptc on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cyndis/promptc [INFO] finished tweaking git repo https://github.com/cyndis/promptc [INFO] tweaked toml for git repo https://github.com/cyndis/promptc written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/cyndis/promptc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `git://github.com/cyndis/rust-ansi-term.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84524809caee597749b69ba514b60f463c6e345041369cb0c6271ab30e971314 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84524809caee597749b69ba514b60f463c6e345041369cb0c6271ab30e971314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84524809caee597749b69ba514b60f463c6e345041369cb0c6271ab30e971314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84524809caee597749b69ba514b60f463c6e345041369cb0c6271ab30e971314", kill_on_drop: false }` [INFO] [stdout] 84524809caee597749b69ba514b60f463c6e345041369cb0c6271ab30e971314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0177c98d26c9c316c7694a6dbac55f7780feb22433245f64d2debf1227bc3957 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0177c98d26c9c316c7694a6dbac55f7780feb22433245f64d2debf1227bc3957", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ansi_term v0.6.2 (git://github.com/cyndis/rust-ansi-term.git#4339b4f7) [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking promptc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut f = try!(File::open("/etc/hostname")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | while try!(f.read_to_string(&mut data)) > 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(try!(env::var("USER"))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let pwd = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | let git_ref = try!(std::str::from_utf8(&stdout)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | let subject = try!(std::str::from_utf8(&stdout)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let home = env::home_dir(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut f = try!(File::open("/etc/hostname")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | while try!(f.read_to_string(&mut data)) > 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(try!(env::var("USER"))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let pwd = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | let git_ref = try!(std::str::from_utf8(&stdout)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | let subject = try!(std::str::from_utf8(&stdout)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let home = env::home_dir(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relative_from` found for struct `PathBuf` in the current scope [INFO] [stdout] --> src/main.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(rel) = pwd.relative_from(&home) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relative_from` found for struct `PathBuf` in the current scope [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | match pwd.relative_from("/") { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relative_from` found for struct `PathBuf` in the current scope [INFO] [stdout] --> src/main.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(rel) = pwd.relative_from(&home) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relative_from` found for struct `PathBuf` in the current scope [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | match pwd.relative_from("/") { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relative_from` found for struct `PathBuf` in the current scope [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | match pwd.relative_from("/") { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peek` found for struct `Components<'_>` in the current scope [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | if components.peek().is_none() && root.is_empty() { [INFO] [stdout] | ^^^^ method not found in `Components<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `relative_from` found for struct `PathBuf` in the current scope [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | match pwd.relative_from("/") { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peek` found for struct `Components<'_>` in the current scope [INFO] [stdout] --> src/main.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let root_styled = if components.peek().is_some() { [INFO] [stdout] | ^^^^ method not found in `Components<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peek` found for struct `Components<'_>` in the current scope [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | if components.peek().is_none() && root.is_empty() { [INFO] [stdout] | ^^^^ method not found in `Components<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peek` found for struct `Components<'_>` in the current scope [INFO] [stdout] --> src/main.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let root_styled = if components.peek().is_some() { [INFO] [stdout] | ^^^^ method not found in `Components<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peek` found for struct `Components<'_>` in the current scope [INFO] [stdout] --> src/main.rs:102:75 [INFO] [stdout] | [INFO] [stdout] 102 | let abbr = if ABBREVIATE_PARENT_DIRECTORIES && components.peek().is_some() { [INFO] [stdout] | ^^^^ method not found in `Components<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peek` found for struct `Components<'_>` in the current scope [INFO] [stdout] --> src/main.rs:102:75 [INFO] [stdout] | [INFO] [stdout] 102 | let abbr = if ABBREVIATE_PARENT_DIRECTORIES && components.peek().is_some() { [INFO] [stdout] | ^^^^ method not found in `Components<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `members` on type `Group` [INFO] [stdout] --> src/main.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | if grp.members.contains(&name) { return true } [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `members` on type `Group` [INFO] [stdout] --> src/main.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | if grp.members.contains(&name) { return true } [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let connected = result.connect(" "); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let connected = result.connect(" "); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | ].connect(" "); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | ].connect(" "); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `promptc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0177c98d26c9c316c7694a6dbac55f7780feb22433245f64d2debf1227bc3957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0177c98d26c9c316c7694a6dbac55f7780feb22433245f64d2debf1227bc3957", kill_on_drop: false }` [INFO] [stdout] 0177c98d26c9c316c7694a6dbac55f7780feb22433245f64d2debf1227bc3957