[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 try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluluawo%2Fc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luluawo/c on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6566a72463c6b3e830ad0dfde7a8436b107c02d9c2d72471fe056c214552ca0
[INFO] running `Command { std: "docker" "start" "-a" "a6566a72463c6b3e830ad0dfde7a8436b107c02d9c2d72471fe056c214552ca0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6566a72463c6b3e830ad0dfde7a8436b107c02d9c2d72471fe056c214552ca0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6566a72463c6b3e830ad0dfde7a8436b107c02d9c2d72471fe056c214552ca0", kill_on_drop: false }`
[INFO] [stdout] a6566a72463c6b3e830ad0dfde7a8436b107c02d9c2d72471fe056c214552ca0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 148e970933fc92b12e45b7b4b36bbf3d66d7e8dfcdf4a0613c269a26511b0e28
[INFO] running `Command { std: "docker" "start" "-a" "148e970933fc92b12e45b7b4b36bbf3d66d7e8dfcdf4a0613c269a26511b0e28", 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: function `wrap_mod` is never used
[INFO] [stdout]   --> src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn wrap_mod<T>(x: T, modulus: T) -> T
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<T>(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<Circle> {
[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<bool>, 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, 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<T: Ord> Edge<T> {
[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<HashSet<Edge<Point>>>) -> Self {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |   fn lattice(cycle: Vec<Point>) -> 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<bool>, 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<String>, 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<f64x2> {
[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<T, const N: usize> {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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<T, const N: usize> {
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s
[INFO] running `Command { std: "docker" "inspect" "148e970933fc92b12e45b7b4b36bbf3d66d7e8dfcdf4a0613c269a26511b0e28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "148e970933fc92b12e45b7b4b36bbf3d66d7e8dfcdf4a0613c269a26511b0e28", kill_on_drop: false }`
[INFO] [stdout] 148e970933fc92b12e45b7b4b36bbf3d66d7e8dfcdf4a0613c269a26511b0e28
