[INFO] cloning repository https://github.com/Gohla/pie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gohla/pie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGohla%2Fpie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGohla%2Fpie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 362efb23a7698badff4d0c33103f15627fd80c88 [INFO] checking Gohla/pie 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%2FGohla%2Fpie" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gohla/pie [INFO] finished tweaking git repo https://github.com/Gohla/pie [INFO] tweaked toml for git repo https://github.com/Gohla/pie written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gohla/pie 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/Gohla/pie 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1199f7293f8aba4f85b508d726b7f5598db5ff7f08daa33af4c35de9b24d02a9 [INFO] running `Command { std: "docker" "start" "-a" "1199f7293f8aba4f85b508d726b7f5598db5ff7f08daa33af4c35de9b24d02a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1199f7293f8aba4f85b508d726b7f5598db5ff7f08daa33af4c35de9b24d02a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1199f7293f8aba4f85b508d726b7f5598db5ff7f08daa33af4c35de9b24d02a9", kill_on_drop: false }` [INFO] [stdout] 1199f7293f8aba4f85b508d726b7f5598db5ff7f08daa33af4c35de9b24d02a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9d5186cfa4dfc58d8ea6c6272507bab1ef9dcbc0cfe04fa015f3b98a47517e21 [INFO] running `Command { std: "docker" "start" "-a" "9d5186cfa4dfc58d8ea6c6272507bab1ef9dcbc0cfe04fa015f3b98a47517e21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking testresult v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking dev_util v0.1.0 (/opt/rustwide/workdir/dev_util) [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking pie_graph v0.0.1 (/opt/rustwide/workdir/graph) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> graph/src/lib.rs:812:5 [INFO] [stdout] | [INFO] [stdout] 812 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 813 | node: impl Borrow, [INFO] [stdout] 814 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 814 | ) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> graph/src/lib.rs:860:22 [INFO] [stdout] | [INFO] [stdout] 860 | pub fn descendants(&self, node: impl Borrow) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 860 | pub fn descendants(&self, node: impl Borrow) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> graph/src/lib.rs:812:5 [INFO] [stdout] | [INFO] [stdout] 812 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 813 | node: impl Borrow, [INFO] [stdout] 814 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 814 | ) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> graph/src/lib.rs:860:22 [INFO] [stdout] | [INFO] [stdout] 860 | pub fn descendants(&self, node: impl Borrow) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 860 | pub fn descendants(&self, node: impl Borrow) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pie v0.1.0 (/opt/rustwide/workdir/pie) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pie/src/lib.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn new_session(&mut self) -> Session { [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] 236 | pub fn new_session(&mut self) -> Session<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:27:108 [INFO] [stdout] | [INFO] [stdout] 27 | fn read<'rc, C: ResourceState>(&self, state: &'rc mut C) -> Result, Self::Error> { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 28 | | let map = state.get_global_map(); [INFO] [stdout] 29 | | let value = map.get(&self); [INFO] [stdout] 30 | | Ok(value) [INFO] [stdout] 31 | | } [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::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(value) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:34:109 [INFO] [stdout] | [INFO] [stdout] 34 | fn write<'r, C: ResourceState>(&'r self, state: &'r mut C) -> Result, Self::Error> { [INFO] [stdout] | _____________________________________________________________________________________________________________^ [INFO] [stdout] 35 | | let map = state.get_global_map_mut(); [INFO] [stdout] 36 | | let writer = MapWriter { map, key: self }; [INFO] [stdout] 37 | | Ok(writer) [INFO] [stdout] 38 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(writer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pie/src/resource/map.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn entry(&mut self) -> Entry where [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] 66 | pub fn entry(&mut self) -> Entry<'_, K, K::Value> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:108:102 [INFO] [stdout] | [INFO] [stdout] 108 | fn stamp>(&self, key: &K, state: &mut RS) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 109 | | let value = key.read(state)?.map(|v| v.clone()); [INFO] [stdout] 110 | | Ok(value) [INFO] [stdout] 111 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option<&::Value>> [INFO] [stdout] --> pie/src/resource/map.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let value = key.read(state)?.map(|v| v.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let value = key.read(state)?.map(|v| v.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let value = key.read(state)?.map(|v| v.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | Ok(value) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:112:103 [INFO] [stdout] | [INFO] [stdout] 112 | fn stamp_reader(&self, _key: &K, value: &mut Option<&K::Value>) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 113 | | let value = value.map(|v| v.clone()); [INFO] [stdout] 114 | | Ok(value) [INFO] [stdout] 115 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(value) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:116:98 [INFO] [stdout] | [INFO] [stdout] 116 | fn stamp_writer(&self, _key: &K, writer: MapWriter<'_, K>) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________^ [INFO] [stdout] 117 | | let value = writer.get().map(|v| v.clone()); [INFO] [stdout] 118 | | Ok(value) [INFO] [stdout] 119 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(value) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Result, Self::Error> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 127 | | let value = key.read(state)?; [INFO] [stdout] 128 | | let inconsistency = if value != stamp.as_ref() { [INFO] [stdout] 129 | | Some(value) [INFO] [stdout] ... | [INFO] [stdout] 133 | | Ok(inconsistency) [INFO] [stdout] 134 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option<&::Value>> [INFO] [stdout] --> pie/src/resource/map.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let value = key.read(state)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let value = key.read(state)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let value = key.read(state)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Value>>, Infallible> [INFO] [stdout] --> pie/src/resource/map.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(inconsistency) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pie/src/pie.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_session(&mut self) -> Session { Session(SessionInternal::new(self)) } [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] 34 | pub fn new_session(&mut self) -> Session<'_> { Session(SessionInternal::new(self)) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pie` (lib) due to 18 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d5186cfa4dfc58d8ea6c6272507bab1ef9dcbc0cfe04fa015f3b98a47517e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d5186cfa4dfc58d8ea6c6272507bab1ef9dcbc0cfe04fa015f3b98a47517e21", kill_on_drop: false }` [INFO] [stdout] 9d5186cfa4dfc58d8ea6c6272507bab1ef9dcbc0cfe04fa015f3b98a47517e21