[INFO] fetching crate fractal-curve 0.1.0... [INFO] checking fractal-curve-0.1.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate fractal-curve 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fractal-curve 0.1.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fractal-curve 0.1.0 [INFO] finished tweaking crates.io crate fractal-curve 0.1.0 [INFO] tweaked toml for crates.io crate fractal-curve 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate fractal-curve 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf7a0618f740b6874aa6bf6b35986ec70cea75e65529400f2c4e32aee337b607 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf7a0618f740b6874aa6bf6b35986ec70cea75e65529400f2c4e32aee337b607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf7a0618f740b6874aa6bf6b35986ec70cea75e65529400f2c4e32aee337b607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7a0618f740b6874aa6bf6b35986ec70cea75e65529400f2c4e32aee337b607", kill_on_drop: false }` [INFO] [stdout] cf7a0618f740b6874aa6bf6b35986ec70cea75e65529400f2c4e32aee337b607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4154a8b52c225f0a45aead1434b28d0ad265354afe2de76738655c0cc986c845 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4154a8b52c225f0a45aead1434b28d0ad265354afe2de76738655c0cc986c845", kill_on_drop: false }` [INFO] [stderr] Checking svg v0.8.0 [INFO] [stderr] Checking fractal-curve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `PeanoCurve` [INFO] [stdout] --> src/curves/peano.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct PeanoCurve { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/curves/peano.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(x: f64, y: f64, length: f64, angle: i32) -> PeanoCurve { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rewrite` [INFO] [stdout] --> src/curves/peano.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn rewrite(order: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/curves/peano.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn execute(&mut self, order: usize) -> Path { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/curves/peano.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn draw_line(&mut self, data: Data) -> Data { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn` [INFO] [stdout] --> src/curves/peano.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn turn(&mut self, angle: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/curves/peano.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn save(file: &str, size: usize, order: usize) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `koch_curve` [INFO] [stdout] --> src/curves/koch.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn koch_curve(mut data: Data, x0: f64, y0: f64, x1: f64, y1: f64, order: usize) -> Data { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_koch_snowflake` [INFO] [stdout] --> src/curves/koch.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn write_koch_snowflake(file: &str, size: usize, order: usize) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HilbertCurve` [INFO] [stdout] --> src/curves/hilbert.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct HilbertCurve { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/curves/hilbert.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(x: f64, y: f64, length: f64, angle: i32) -> HilbertCurve { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rewrite` [INFO] [stdout] --> src/curves/hilbert.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn rewrite(order: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/curves/hilbert.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn execute(&mut self, order: usize) -> Path { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/curves/hilbert.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw_line(&mut self, data: Data) -> Data { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn` [INFO] [stdout] --> src/curves/hilbert.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn turn(&mut self, angle: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/curves/hilbert.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn save(file: &str, size: usize, order: usize) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SierpinskiSquareCurve` [INFO] [stdout] --> src/curves/sierpinski_square.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct SierpinskiSquareCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/curves/sierpinski_square.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(x: f64, y: f64, length: f64, angle: i32) -> SierpinskiSquareCurve { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rewrite` [INFO] [stdout] --> src/curves/sierpinski_square.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn rewrite(order: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/curves/sierpinski_square.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn execute(&mut self, order: usize) -> Path { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/curves/sierpinski_square.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn draw_line(&mut self, data: Data) -> Data { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn` [INFO] [stdout] --> src/curves/sierpinski_square.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn turn(&mut self, angle: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/curves/sierpinski_square.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn save(file: &str, size: usize, length: f64, order: usize) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cursor` [INFO] [stdout] --> src/curves/sierpinski_arrowhead.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/curves/sierpinski_arrowhead.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(x: f64, y: f64) -> Cursor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn` [INFO] [stdout] --> src/curves/sierpinski_arrowhead.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn turn(&mut self, angle: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/curves/sierpinski_arrowhead.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn draw_line(&mut self, data: Data, length: f64) -> Data { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `curve` [INFO] [stdout] --> src/curves/sierpinski_arrowhead.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn curve(mut data: Data, order: usize, length: f64, cursor: &mut Cursor, angle: i32) -> Data { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_sierpinski_arrowhead` [INFO] [stdout] --> src/curves/sierpinski_arrowhead.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn write_sierpinski_arrowhead(file: &str, size: usize, order: usize) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SierpinskiCurve` [INFO] [stdout] --> src/curves/sierpinski.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SierpinskiCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/curves/sierpinski.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(x: f64, y: f64, length: f64, angle: i32) -> SierpinskiCurve { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rewrite` [INFO] [stdout] --> src/curves/sierpinski.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn rewrite(order: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/curves/sierpinski.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn execute(&mut self, order: usize) -> Path { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/curves/sierpinski.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn draw_line(&mut self, data: Data) -> Data { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn` [INFO] [stdout] --> src/curves/sierpinski.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn turn(&mut self, angle: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/curves/sierpinski.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn save(file: &str, size: usize, order: usize) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SQRT3_2` [INFO] [stdout] --> src/utils/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const SQRT3_2: f64 = 0.86602540378444; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "4154a8b52c225f0a45aead1434b28d0ad265354afe2de76738655c0cc986c845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4154a8b52c225f0a45aead1434b28d0ad265354afe2de76738655c0cc986c845", kill_on_drop: false }` [INFO] [stdout] 4154a8b52c225f0a45aead1434b28d0ad265354afe2de76738655c0cc986c845