[INFO] cloning repository https://github.com/Esu0/rust-workspace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Esu0/rust-workspace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEsu0%2Frust-workspace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEsu0%2Frust-workspace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06a86d9f13a738a01a2ffd2e665f5d9aae3d3459 [INFO] checking Esu0/rust-workspace/06a86d9f13a738a01a2ffd2e665f5d9aae3d3459 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEsu0%2Frust-workspace" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Esu0/rust-workspace on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Esu0/rust-workspace [INFO] finished tweaking git repo https://github.com/Esu0/rust-workspace [INFO] tweaked toml for git repo https://github.com/Esu0/rust-workspace written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Esu0/rust-workspace 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c7ed3a79ff24a7f37d6bdeab793776886219fb18782105d3e911f3ead81080c [INFO] running `Command { std: "docker" "start" "-a" "0c7ed3a79ff24a7f37d6bdeab793776886219fb18782105d3e911f3ead81080c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c7ed3a79ff24a7f37d6bdeab793776886219fb18782105d3e911f3ead81080c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7ed3a79ff24a7f37d6bdeab793776886219fb18782105d3e911f3ead81080c", kill_on_drop: false }` [INFO] [stdout] 0c7ed3a79ff24a7f37d6bdeab793776886219fb18782105d3e911f3ead81080c [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8085837426fa95be762e06f93db7cf5c0445bff86be5ca6b6f34a55b54c301e3 [INFO] running `Command { std: "docker" "start" "-a" "8085837426fa95be762e06f93db7cf5c0445bff86be5ca6b6f34a55b54c301e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking proconio v0.4.5 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking opt-div v0.1.0 (/opt/rustwide/workdir/opt-div) [INFO] [stderr] Checking super-mod-pow v0.1.0 (/opt/rustwide/workdir/super-mod-pow) [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tree v0.1.0 (/opt/rustwide/workdir/tree) [INFO] [stdout] warning: struct `SearchTree` is never constructed [INFO] [stdout] --> tree/src/tree.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SearchTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tree/src/tree.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl SearchTree { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 12 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find` and `insert` are never used [INFO] [stdout] --> tree/src/tree.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SearchTree { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 19 | pub fn find(&self, key: &Q) -> Option<(NodeRef, cmp::Ordering)> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn insert(&mut self, val: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> tree/src/tree/link_cut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LinkCutTree { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | root: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expose` is never used [INFO] [stdout] --> tree/src/tree/link_cut.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl LinkCutTree { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn expose(&mut self, mut node: NodeRef) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking proconio v0.5.0 [INFO] [stderr] Checking dijkstra v0.1.0 (/opt/rustwide/workdir/dijkstra) [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> super-mod-pow/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> super-mod-pow/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eratosthenes` is never used [INFO] [stdout] --> super-mod-pow/src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn eratosthenes(n: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> super-mod-pow/src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_prime(n: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eratosthenes` is never used [INFO] [stdout] --> super-mod-pow/src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn eratosthenes(n: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> super-mod-pow/src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_prime(n: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking name-shuffle v0.1.0 (/opt/rustwide/workdir/name-shuffle) [INFO] [stderr] Checking number-puzzle v0.1.0 (/opt/rustwide/workdir/number-puzzle) [INFO] [stderr] Checking borrow-stack-ex v0.1.0 (/opt/rustwide/workdir/borrow-stack-ex) [INFO] [stderr] Checking fake-static v0.1.0 (/opt/rustwide/workdir/fake-static) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> fake-static/src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | fn h<'a, 'b, T, U>(x: &'a &'b (), y: &'a T, z: &'b U) -> &'a U { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> fake-static/src/main.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | fn h<'a, 'b, T, U>(x: &'a &'b (), y: &'a T, z: &'b U) -> &'a U { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> fake-static/src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | fn g<'a, 'b, T, U>(x: &'a T, y: &'b U) -> &'a U { [INFO] [stdout] | -- -- lifetime `'b` defined here [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` defined here [INFO] [stdout] 6 | let f: fn(&'static &'static (), &'a T, &'b U) -> &'a U = h; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'b: 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> fake-static/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let b = fake_static(&a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fake-static` (bin "fake-static" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> fake-static/src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | fn h<'a, 'b, T, U>(x: &'a &'b (), y: &'a T, z: &'b U) -> &'a U { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> fake-static/src/main.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | fn h<'a, 'b, T, U>(x: &'a &'b (), y: &'a T, z: &'b U) -> &'a U { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> fake-static/src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | fn g<'a, 'b, T, U>(x: &'a T, y: &'b U) -> &'a U { [INFO] [stdout] | -- -- lifetime `'b` defined here [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` defined here [INFO] [stdout] 6 | let f: fn(&'static &'static (), &'a T, &'b U) -> &'a U = h; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'b: 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> fake-static/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let b = fake_static(&a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fake-static` (bin "fake-static") due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> tree/src/tree/link_cut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LinkCutTree { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | root: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expose` is never used [INFO] [stdout] --> tree/src/tree/link_cut.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl LinkCutTree { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn expose(&mut self, mut node: NodeRef) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8085837426fa95be762e06f93db7cf5c0445bff86be5ca6b6f34a55b54c301e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8085837426fa95be762e06f93db7cf5c0445bff86be5ca6b6f34a55b54c301e3", kill_on_drop: false }` [INFO] [stdout] 8085837426fa95be762e06f93db7cf5c0445bff86be5ca6b6f34a55b54c301e3