[INFO] fetching crate sunscreen_compiler_common 0.8.1... [INFO] checking sunscreen_compiler_common-0.8.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sunscreen_compiler_common 0.8.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate sunscreen_compiler_common 0.8.1 [INFO] finished tweaking crates.io crate sunscreen_compiler_common 0.8.1 [INFO] tweaked toml for crates.io crate sunscreen_compiler_common 0.8.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sunscreen_compiler_common 0.8.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding petgraph v0.6.5 (available: v0.8.3) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b7953e0d0a1a03c5fc6df9328ac0561000b450162cc679a5f1f2bfa72d19e327 [INFO] running `Command { std: "docker" "start" "-a" "b7953e0d0a1a03c5fc6df9328ac0561000b450162cc679a5f1f2bfa72d19e327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7953e0d0a1a03c5fc6df9328ac0561000b450162cc679a5f1f2bfa72d19e327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7953e0d0a1a03c5fc6df9328ac0561000b450162cc679a5f1f2bfa72d19e327", kill_on_drop: false }` [INFO] [stdout] b7953e0d0a1a03c5fc6df9328ac0561000b450162cc679a5f1f2bfa72d19e327 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ed735db470230017a08e0bafe35db67d67625587c55179dbecede5ed9f873be4 [INFO] running `Command { std: "docker" "start" "-a" "ed735db470230017a08e0bafe35db67d67625587c55179dbecede5ed9f873be4", kill_on_drop: false }` [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking sunscreen_compiler_common v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn neighbors_directed(&self, x: NodeIndex, direction: Direction) -> Neighbors { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn neighbors_directed(&self, x: NodeIndex, direction: Direction) -> Neighbors<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn edges_directed(&self, x: NodeIndex, direction: Direction) -> Edges { [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] 63 | pub fn edges_directed(&self, x: NodeIndex, direction: Direction) -> Edges<'_, E, Directed> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:706:52 [INFO] [stdout] | [INFO] [stdout] 706 | reverse_traverse_mut(&mut ir.graph, |_, n| { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 707 | | visited.push(n); [INFO] [stdout] 708 | | // Delete the addition [INFO] [stdout] 709 | | if n.index() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 717 | | }) [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, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | / if n.index() == 2 { [INFO] [stdout] 710 | | let mut transforms = GraphTransforms::new(); [INFO] [stdout] 711 | | transforms.push(Transform::RemoveNode(n.into())); [INFO] [stdout] ... | [INFO] [stdout] 715 | | Ok::<_, Infallible>(GraphTransforms::default()) [INFO] [stdout] 716 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:709:31 [INFO] [stdout] | [INFO] [stdout] 709 | if n.index() == 2 { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 710 | | let mut transforms = GraphTransforms::new(); [INFO] [stdout] 711 | | transforms.push(Transform::RemoveNode(n.into())); [INFO] [stdout] ... | [INFO] [stdout] 714 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:713:17 [INFO] [stdout] | [INFO] [stdout] 713 | Ok::<_, Infallible>(transforms) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:714:20 [INFO] [stdout] | [INFO] [stdout] 714 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 715 | | Ok::<_, Infallible>(GraphTransforms::default()) [INFO] [stdout] 716 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | Ok::<_, Infallible>(GraphTransforms::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:738:52 [INFO] [stdout] | [INFO] [stdout] 738 | forward_traverse_mut(&mut ir.graph, |_, n| { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 739 | | visited.push(n); [INFO] [stdout] ... | [INFO] [stdout] 763 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | / if n.index() == 2 { [INFO] [stdout] 743 | | let mut transforms: GraphTransforms, EdgeInfo> = [INFO] [stdout] 744 | | GraphTransforms::new(); [INFO] [stdout] 745 | | let mul = transforms.push(Transform::AddNode(NodeInfo { [INFO] [stdout] ... | [INFO] [stdout] 761 | | Ok::<_, Infallible>(GraphTransforms::default()) [INFO] [stdout] 762 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:742:31 [INFO] [stdout] | [INFO] [stdout] 742 | if n.index() == 2 { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 743 | | let mut transforms: GraphTransforms, EdgeInfo> = [INFO] [stdout] 744 | | GraphTransforms::new(); [INFO] [stdout] 745 | | let mul = transforms.push(Transform::AddNode(NodeInfo { [INFO] [stdout] ... | [INFO] [stdout] 759 | | Ok::<_, Infallible>(ret) [INFO] [stdout] 760 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:759:17 [INFO] [stdout] | [INFO] [stdout] 759 | Ok::<_, Infallible>(ret) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:760:20 [INFO] [stdout] | [INFO] [stdout] 760 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 761 | | Ok::<_, Infallible>(GraphTransforms::default()) [INFO] [stdout] 762 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/graph.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | Ok::<_, Infallible>(GraphTransforms::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/transforms/common_subexpression_elimination.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | forward_traverse_mut(graph, |query, index| { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 75 | | let mut transforms: GraphTransforms, EdgeInfo> = GraphTransforms::new(); [INFO] [stdout] ... | [INFO] [stdout] 135 | | Ok::<_, Infallible>(transforms) [INFO] [stdout] 136 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/transforms/common_subexpression_elimination.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Ok::<_, Infallible>(transforms) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sunscreen_compiler_common` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn neighbors_directed(&self, x: NodeIndex, direction: Direction) -> Neighbors { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn neighbors_directed(&self, x: NodeIndex, direction: Direction) -> Neighbors<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn edges_directed(&self, x: NodeIndex, direction: Direction) -> Edges { [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] 63 | pub fn edges_directed(&self, x: NodeIndex, direction: Direction) -> Edges<'_, E, Directed> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/transforms/common_subexpression_elimination.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | forward_traverse_mut(graph, |query, index| { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 75 | | let mut transforms: GraphTransforms, EdgeInfo> = GraphTransforms::new(); [INFO] [stdout] ... | [INFO] [stdout] 135 | | Ok::<_, Infallible>(transforms) [INFO] [stdout] 136 | | }) [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, context::EdgeInfo>, Infallible> [INFO] [stdout] --> src/transforms/common_subexpression_elimination.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Ok::<_, Infallible>(transforms) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sunscreen_compiler_common` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed735db470230017a08e0bafe35db67d67625587c55179dbecede5ed9f873be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed735db470230017a08e0bafe35db67d67625587c55179dbecede5ed9f873be4", kill_on_drop: false }` [INFO] [stdout] ed735db470230017a08e0bafe35db67d67625587c55179dbecede5ed9f873be4