[INFO] cloning repository https://github.com/Juici/jsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Juici/jsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuici%2Fjsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuici%2Fjsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2223c24d2231cc4edc8a4484cefdcfe0e16e6242 [INFO] checking Juici/jsh against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuici%2Fjsh" "/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/Juici/jsh [INFO] finished tweaking git repo https://github.com/Juici/jsh [INFO] tweaked toml for git repo https://github.com/Juici/jsh written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Juici/jsh on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Juici/jsh 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e050cae1b9d63d8a96d411f44eafd1ef9055991183cd35a3d4a9bc2cb85d2260 [INFO] running `Command { std: "docker" "start" "-a" "e050cae1b9d63d8a96d411f44eafd1ef9055991183cd35a3d4a9bc2cb85d2260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e050cae1b9d63d8a96d411f44eafd1ef9055991183cd35a3d4a9bc2cb85d2260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e050cae1b9d63d8a96d411f44eafd1ef9055991183cd35a3d4a9bc2cb85d2260", kill_on_drop: false }` [INFO] [stdout] e050cae1b9d63d8a96d411f44eafd1ef9055991183cd35a3d4a9bc2cb85d2260 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fe41409806f030e76d3d933a9d26af2905c2d4a2e29d19397d9445077d183ab [INFO] running `Command { std: "docker" "start" "-a" "6fe41409806f030e76d3d933a9d26af2905c2d4a2e29d19397d9445077d183ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking signal-hook v0.1.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.10 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking thiserror v1.0.10 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pkg-macros v3.0.0 [INFO] [stderr] Checking pkg v3.0.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking jsh v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/code_area/mod.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let mut buf = &mut state.buffer; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/code_area/mod.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let mut buf = &mut state.buffer; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Lines` is never constructed [INFO] [stdout] --> src/cli/term/buffer/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Lines(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `Lines` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/ui/mod.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter(&self) -> std::slice::Iter<'_, TextSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/ui/mod.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, TextSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/ui/mod.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter(&self) -> std::slice::Iter<'_, TextSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/ui/mod.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, TextSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsh` (bin "jsh" test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6fe41409806f030e76d3d933a9d26af2905c2d4a2e29d19397d9445077d183ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe41409806f030e76d3d933a9d26af2905c2d4a2e29d19397d9445077d183ab", kill_on_drop: false }` [INFO] [stdout] 6fe41409806f030e76d3d933a9d26af2905c2d4a2e29d19397d9445077d183ab