[INFO] cloning repository https://github.com/c-rus/euclid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c-rus/euclid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-rus%2Feuclid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-rus%2Feuclid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd82b68f35dd2174af926974f51bd0d0922dc519 [INFO] checking c-rus/euclid against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-rus%2Feuclid" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c-rus/euclid on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/c-rus/euclid [INFO] finished tweaking git repo https://github.com/c-rus/euclid [INFO] tweaked toml for git repo https://github.com/c-rus/euclid written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/c-rus/euclid 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded half v2.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bc57fb7b7f5ab2a69a3fc7fb363ed5a38b44cf0035e8d39b093f5abb0e796b9 [INFO] running `Command { std: "docker" "start" "-a" "3bc57fb7b7f5ab2a69a3fc7fb363ed5a38b44cf0035e8d39b093f5abb0e796b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bc57fb7b7f5ab2a69a3fc7fb363ed5a38b44cf0035e8d39b093f5abb0e796b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc57fb7b7f5ab2a69a3fc7fb363ed5a38b44cf0035e8d39b093f5abb0e796b9", kill_on_drop: false }` [INFO] [stdout] 3bc57fb7b7f5ab2a69a3fc7fb363ed5a38b44cf0035e8d39b093f5abb0e796b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f74ff541b69d4039eae48f60c66d307764d5b80308d543331592c20d5918fb9c [INFO] running `Command { std: "docker" "start" "-a" "f74ff541b69d4039eae48f60c66d307764d5b80308d543331592c20d5918fb9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking euclid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/point_loc.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | let mut s_struct = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 33 | / for (i, seg) in segments.iter().enumerate() { [INFO] [stdout] 34 | | println!("{}: {}", i, seg); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/point_loc.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn intersects(s: &LineSegment) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_box` [INFO] [stdout] --> src/point_loc.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let bounding_box = Region::::new(Point::::from((0.0, 0.0)), Point::::from((18.0, 12.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_map` [INFO] [stdout] --> src/point_loc.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut t_map: Vec = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_struct` [INFO] [stdout] --> src/point_loc.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut s_struct = todo!(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/point_loc.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | for (i, seg) in segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seg` [INFO] [stdout] --> src/point_loc.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | for (i, seg) in segments.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segments` [INFO] [stdout] --> src/point_loc.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn trapezoidal_map(segments: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/point_loc.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut t_map: Vec = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `euclid` is imported redundantly [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use euclid::{self, kd_tree::KdTree, range_tree::RangeTree}; [INFO] [stdout] | ^^^^ the item `euclid` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let result = trapezoidal_map(&segments); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> benches/compare_convex_hull.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `euclid` is imported redundantly [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use euclid::{self, kd_tree::KdTree, range_tree::RangeTree}; [INFO] [stdout] | ^^^^ the item `euclid` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let result = trapezoidal_map(&segments); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/point_loc.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | let mut s_struct = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 33 | / for (i, seg) in segments.iter().enumerate() { [INFO] [stdout] 34 | | println!("{}: {}", i, seg); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/point_loc.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn intersects(s: &LineSegment) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_box` [INFO] [stdout] --> src/point_loc.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let bounding_box = Region::::new(Point::::from((0.0, 0.0)), Point::::from((18.0, 12.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_map` [INFO] [stdout] --> src/point_loc.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut t_map: Vec = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_struct` [INFO] [stdout] --> src/point_loc.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut s_struct = todo!(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/point_loc.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | for (i, seg) in segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seg` [INFO] [stdout] --> src/point_loc.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | for (i, seg) in segments.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segments` [INFO] [stdout] --> src/point_loc.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn trapezoidal_map(segments: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/point_loc.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut t_map: Vec = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.34s [INFO] running `Command { std: "docker" "inspect" "f74ff541b69d4039eae48f60c66d307764d5b80308d543331592c20d5918fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f74ff541b69d4039eae48f60c66d307764d5b80308d543331592c20d5918fb9c", kill_on_drop: false }` [INFO] [stdout] f74ff541b69d4039eae48f60c66d307764d5b80308d543331592c20d5918fb9c