[INFO] cloning repository https://github.com/luluawo/c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luluawo/c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluluawo%2Fc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluluawo%2Fc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c249001a85adfd8138fa3d904de0822c06547cb9 [INFO] checking luluawo/c against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluluawo%2Fc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/luluawo/c [INFO] finished tweaking git repo https://github.com/luluawo/c [INFO] tweaked toml for git repo https://github.com/luluawo/c written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luluawo/c on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luluawo/c 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6407f06b70cff36a0425f55291598b1096faae77da9c606e11618464f3e58947 [INFO] running `Command { std: "docker" "start" "-a" "6407f06b70cff36a0425f55291598b1096faae77da9c606e11618464f3e58947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6407f06b70cff36a0425f55291598b1096faae77da9c606e11618464f3e58947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6407f06b70cff36a0425f55291598b1096faae77da9c606e11618464f3e58947", kill_on_drop: false }` [INFO] [stdout] 6407f06b70cff36a0425f55291598b1096faae77da9c606e11618464f3e58947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a96e213c1903bd51d07c712eea4006e92476cc132efbfa4109601bb3e83ed6d [INFO] running `Command { std: "docker" "start" "-a" "5a96e213c1903bd51d07c712eea4006e92476cc132efbfa4109601bb3e83ed6d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `cut_size` is never used [INFO] [stdout] --> src/main.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 89 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 90 | fn cut_size(&self, partition: &[bool]) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `angle`, `normalize`, and `cross` are never used [INFO] [stdout] --> src/lin.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait LinearSpace { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn angle(self, other: Self) -> T; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | fn scale(self, scalar: T) -> Self; [INFO] [stdout] 9 | fn normalize(self) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn cross(self, other: Self) -> [T; N]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wrap_mod` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn wrap_mod(x: T, modulus: T) -> T [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimum_rotation` is never used [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn minimum_rotation(a: T, b: T, modulus: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_radius`, `circumscribe`, and `intersection` are never used [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 35 | impl Circle { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 36 | fn from_radius(p1: f64x2, p2: f64x2, r: f64) -> Option<(Circle, Circle)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn circumscribe(p1: f64x2, p2: f64x2, p3: f64x2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn intersection(c1: &Circle, c2: &Circle) -> Option<(f64x2, f64x2)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cut_size` and `maximum_cut` are never used [INFO] [stdout] --> src/main.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 89 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 90 | fn cut_size(&self, partition: &[bool]) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn maximum_cut(&self) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct Point(usize, usize, usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `torus_l1_distance`, `torus_decode`, and `l1_distance` are never used [INFO] [stdout] --> src/main.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 129 | impl Point { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 130 | fn torus_l1_distance(p1: Point, p2: Point, m: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn torus_decode(t: usize, m: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn l1_distance(p1: Point, p2: Point) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/main.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | struct Edge(T, T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 147 | impl Edge { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 148 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hamiltonian` is never constructed [INFO] [stdout] --> src/main.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct Hamiltonian(Graph); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:157:6 [INFO] [stdout] | [INFO] [stdout] 156 | impl Hamiltonian { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 157 | fn new(order: usize, mut chords: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn complete(n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn complete_bipartite(n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn torus(d: usize, filter: Option>>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn lattice(cycle: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn multinomial(code: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn chords(&self) -> &Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn intersections(&self) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn minimum_crossings(&self) -> (usize, Vec, Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn to_svg(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | fn to_svg_group(&self, label: Option, translate: f64x2) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `circle_line_intersection` and `line_line_intersection` are never used [INFO] [stdout] --> src/main.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 321 | impl Shape { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 322 | fn circle_line_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn line_line_intersection(p1: f64x2, p2: f64x2, p3: f64x2, p4: f64x2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plot` is never used [INFO] [stdout] --> src/main.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | fn plot(map: HashMap<(usize, usize), (String, Hamiltonian)>, padding: f64x2) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LinearSpace` is never used [INFO] [stdout] --> src/lin.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait LinearSpace { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "5a96e213c1903bd51d07c712eea4006e92476cc132efbfa4109601bb3e83ed6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a96e213c1903bd51d07c712eea4006e92476cc132efbfa4109601bb3e83ed6d", kill_on_drop: false }` [INFO] [stdout] 5a96e213c1903bd51d07c712eea4006e92476cc132efbfa4109601bb3e83ed6d