[INFO] cloning repository https://github.com/aldhsu/stagehand-ls
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aldhsu/stagehand-ls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldhsu%2Fstagehand-ls", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldhsu%2Fstagehand-ls'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9eb72217b650a8433875b58984cae48f0b5ccfbb
[INFO] checking aldhsu/stagehand-ls against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faldhsu%2Fstagehand-ls" "/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/aldhsu/stagehand-ls
[INFO] finished tweaking git repo https://github.com/aldhsu/stagehand-ls
[INFO] tweaked toml for git repo https://github.com/aldhsu/stagehand-ls written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aldhsu/stagehand-ls on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aldhsu/stagehand-ls 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: debug
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c3c26706cb304b5b55711e5ee3c357d451ddfb61ccede053915200912058ded
[INFO] running `Command { std: "docker" "start" "-a" "2c3c26706cb304b5b55711e5ee3c357d451ddfb61ccede053915200912058ded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c3c26706cb304b5b55711e5ee3c357d451ddfb61ccede053915200912058ded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c3c26706cb304b5b55711e5ee3c357d451ddfb61ccede053915200912058ded", kill_on_drop: false }`
[INFO] [stdout] 2c3c26706cb304b5b55711e5ee3c357d451ddfb61ccede053915200912058ded
[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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db6bba79b1a80d4f2fea4dccab6317c50711d9e70c5a2426101fadd4fab2c4bc
[INFO] running `Command { std: "docker" "start" "-a" "db6bba79b1a80d4f2fea4dccab6317c50711d9e70c5a2426101fadd4fab2c4bc", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: debug
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking tinyvec v1.2.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking unicode-bidi v0.3.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling httparse v1.7.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]     Checking serde v0.8.23
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking rust-ini v0.13.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking dashmap v5.2.0
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking serde-hjson v0.9.1
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling serde_repr v0.1.7
[INFO] [stderr]    Compiling auto_impl v0.5.0
[INFO] [stderr]    Compiling tower-lsp-macros v0.6.0
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking tower v0.4.12
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking lsp-types v0.92.1
[INFO] [stderr]     Checking config v0.11.0
[INFO] [stderr]     Checking tower-lsp v0.16.0
[INFO] [stderr]     Checking stagehand-language-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/errors.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/errors.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `template`, `dispatch`, `make`, `related`, and `start` are never read
[INFO] [stdout]   --> src/projection.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Projection {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     template: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     #[serde(default)]
[INFO] [stdout] 23 |     dispatch: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 24 |     #[serde(default)]
[INFO] [stdout] 25 |     make: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     related: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 30 |     #[serde(default)]
[INFO] [stdout] 31 |     start: Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Projection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/projection.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Projection {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     type_name: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     #[serde(default)]
[INFO] [stdout] 19 |     alternate: Option<Alternate>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     #[serde(default)]
[INFO] [stdout] 21 |     template: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     #[serde(default)]
[INFO] [stdout] 23 |     dispatch: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 24 |     #[serde(default)]
[INFO] [stdout] 25 |     make: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     related: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 30 |     #[serde(default)]
[INFO] [stdout] 31 |     start: Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Projection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `collection` is never read
[INFO] [stdout]   --> src/projection.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct ProjectionCollection {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 35 |     collection: HashMap<String, Projection>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/projection.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl ProjectionCollection {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn get(&self, key: &str) -> Option<&Projection> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_alternates` is never used
[INFO] [stdout]   --> src/projection.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl Projection {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 55 |     fn get_alternates(&self, substitution: &str) -> Result<Vec<PathBuf>, SHError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::path::PathBuf, Infallible>
[INFO] [stdout]   --> src/projection.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             PathBuf::from_str(&computed_path).map_err(|_| SHError::PathNotFound(computed_path))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/projection.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             PathBuf::from_str(&computed_path).map_err(|_| SHError::PathNotFound(computed_path))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stagehand-language-server` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `stagehand-language-server` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "db6bba79b1a80d4f2fea4dccab6317c50711d9e70c5a2426101fadd4fab2c4bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db6bba79b1a80d4f2fea4dccab6317c50711d9e70c5a2426101fadd4fab2c4bc", kill_on_drop: false }`
[INFO] [stdout] db6bba79b1a80d4f2fea4dccab6317c50711d9e70c5a2426101fadd4fab2c4bc
