[INFO] cloning repository https://github.com/dgendill/quarto-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgendill/quarto-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgendill%2Fquarto-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgendill%2Fquarto-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8712c3d186ee31a35cff11dd7b099de21d3274e [INFO] checking dgendill/quarto-wasm/a8712c3d186ee31a35cff11dd7b099de21d3274e against master#90b65889799733f21ebdf59d96411aa531c5900a for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgendill%2Fquarto-wasm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dgendill/quarto-wasm [INFO] finished tweaking git repo https://github.com/dgendill/quarto-wasm [INFO] tweaked toml for git repo https://github.com/dgendill/quarto-wasm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dgendill/quarto-wasm on toolchain 90b65889799733f21ebdf59d96411aa531c5900a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dgendill/quarto-wasm 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" "+90b65889799733f21ebdf59d96411aa531c5900a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wit-bindgen-rt v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bee3ccce2ddef3cbfd1725f7042a3da1f82f43dcafebe7c002bda74535e73c1 [INFO] running `Command { std: "docker" "start" "-a" "2bee3ccce2ddef3cbfd1725f7042a3da1f82f43dcafebe7c002bda74535e73c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bee3ccce2ddef3cbfd1725f7042a3da1f82f43dcafebe7c002bda74535e73c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bee3ccce2ddef3cbfd1725f7042a3da1f82f43dcafebe7c002bda74535e73c1", kill_on_drop: false }` [INFO] [stdout] 2bee3ccce2ddef3cbfd1725f7042a3da1f82f43dcafebe7c002bda74535e73c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69e1641aff887f65a9f55b1fbc1c21ecf3109ec7101bd839c9d7b193e16cf9cb [INFO] running `Command { std: "docker" "start" "-a" "69e1641aff887f65a9f55b1fbc1c21ecf3109ec7101bd839c9d7b193e16cf9cb", kill_on_drop: false }` [INFO] [stderr] Compiling wit-bindgen-rt v0.44.0 [INFO] [stderr] Checking quarto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/quarto/logic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/quarto/mini_board.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::quarto::logic::Board` [INFO] [stdout] --> src/quarto/piece.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::quarto::logic::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/quarto/logic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::quarto::logic::Board` [INFO] [stdout] --> src/quarto/piece.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::quarto::logic::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quarto/debug.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut markup = r#" [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_classic_board` is never used [INFO] [stdout] --> src/quarto/debug.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn show_classic_board(board: &Board) { [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 `show_binary_board` is never used [INFO] [stdout] --> src/quarto/debug.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn show_binary_board(board: &Board) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_to_html` is never used [INFO] [stdout] --> src/quarto/debug.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn render_to_html(board: &Board) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_from_board` is never used [INFO] [stdout] --> src/quarto/logic.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn remove_from_board(board: &mut Board, x: u32, y: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `place_on_board` is never used [INFO] [stdout] --> src/quarto/logic.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn place_on_board(board: &mut Board, x: i32, y: i32, piece: Piece) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_full_board` is never used [INFO] [stdout] --> src/quarto/logic.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn make_full_board() -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_property_same` is never used [INFO] [stdout] --> src/quarto/logic.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn row_property_same(row: RowPieces, property: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_spaces` is never used [INFO] [stdout] --> src/quarto/logic.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn empty_spaces(board: &Board) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mk_point` is never used [INFO] [stdout] --> src/quarto/logic.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn mk_point(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_triple_points` is never used [INFO] [stdout] --> src/quarto/logic.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn construct_triple_points() -> Vec<[i32; 3]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parts` is never used [INFO] [stdout] --> src/quarto/piece.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parts(piece: i32) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_file_name` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn to_file_name(piece: Piece) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_classic_piece` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn show_classic_piece(piece: Piece) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_dark_light` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn show_dark_light(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_short_tall` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn show_short_tall(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_circle_square` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn show_circle_square(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_hollow_solid` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn show_hollow_solid(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/quarto/debug.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | fs::write("board.html", markup); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = fs::write("board.html", markup); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quarto/debug.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut markup = r#" [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/quarto/logic.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | let board = [0, 1, 4, 3, EP, EP, EP, EP, EP, EP, EP, EP, EP, EP, EP, EP]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quarto/logic.rs:570:13 [INFO] [stdout] | [INFO] [stdout] 570 | let mut board = [0, 1, 4, 3, EP, EP, EP, EP, EP, EP, EP, EP, EP, EP, EP, EP]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_classic_board` is never used [INFO] [stdout] --> src/quarto/debug.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn show_classic_board(board: &Board) { [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 `show_binary_board` is never used [INFO] [stdout] --> src/quarto/debug.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn show_binary_board(board: &Board) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_to_html` is never used [INFO] [stdout] --> src/quarto/debug.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn render_to_html(board: &Board) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_spaces` is never used [INFO] [stdout] --> src/quarto/logic.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn empty_spaces(board: &Board) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mk_point` is never used [INFO] [stdout] --> src/quarto/logic.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn mk_point(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_triple_points` is never used [INFO] [stdout] --> src/quarto/logic.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn construct_triple_points() -> Vec<[i32; 3]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parts` is never used [INFO] [stdout] --> src/quarto/piece.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parts(piece: i32) -> (i32, i32, i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_file_name` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn to_file_name(piece: Piece) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_classic_piece` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn show_classic_piece(piece: Piece) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_dark_light` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn show_dark_light(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_short_tall` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn show_short_tall(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_circle_square` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn show_circle_square(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_hollow_solid` is never used [INFO] [stdout] --> src/quarto/piece_style/classic.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn show_hollow_solid(v: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/quarto/debug.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | fs::write("board.html", markup); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = fs::write("board.html", markup); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "69e1641aff887f65a9f55b1fbc1c21ecf3109ec7101bd839c9d7b193e16cf9cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e1641aff887f65a9f55b1fbc1c21ecf3109ec7101bd839c9d7b193e16cf9cb", kill_on_drop: false }` [INFO] [stdout] 69e1641aff887f65a9f55b1fbc1c21ecf3109ec7101bd839c9d7b193e16cf9cb