[INFO] cloning repository https://github.com/Niteblock/math-teaching [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Niteblock/math-teaching" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiteblock%2Fmath-teaching", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiteblock%2Fmath-teaching'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e88122eb45cba37223d3ef941ab9e828efbbc35 [INFO] testing Niteblock/math-teaching against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiteblock%2Fmath-teaching" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Niteblock/math-teaching on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Niteblock/math-teaching [INFO] finished tweaking git repo https://github.com/Niteblock/math-teaching [INFO] tweaked toml for git repo https://github.com/Niteblock/math-teaching written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate git repo https://github.com/Niteblock/math-teaching already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owned_ttf_parser v0.14.0 [INFO] [stderr] Downloaded egui_web v0.16.0 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded copypasta v0.7.1 [INFO] [stderr] Downloaded clipboard-win v3.1.1 [INFO] [stderr] Downloaded wayland-egl v0.29.4 [INFO] [stderr] Downloaded x11-clipboard v0.5.3 [INFO] [stderr] Downloaded xcb v0.10.1 [INFO] [stderr] Downloaded smithay-clipboard v0.6.5 [INFO] [stderr] Downloaded eframe v0.16.0 [INFO] [stderr] Downloaded ab_glyph v0.2.13 [INFO] [stderr] Downloaded epi v0.16.0 [INFO] [stderr] Downloaded ndk-glue v0.5.0 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded egui_glium v0.16.0 [INFO] [stderr] Downloaded egui-winit v0.16.0 [INFO] [stderr] Downloaded ttf-parser v0.14.0 [INFO] [stderr] Downloaded nix v0.22.0 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded lazy-bytes-cast v5.0.1 [INFO] [stderr] Downloaded glium v0.31.0 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ab569ab4242624472b318b66228f7db0cc802c5f568fdda4173635ddc1ce59 [INFO] running `Command { std: "docker" "start" "-a" "04ab569ab4242624472b318b66228f7db0cc802c5f568fdda4173635ddc1ce59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ab569ab4242624472b318b66228f7db0cc802c5f568fdda4173635ddc1ce59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ab569ab4242624472b318b66228f7db0cc802c5f568fdda4173635ddc1ce59", kill_on_drop: false }` [INFO] [stdout] 04ab569ab4242624472b318b66228f7db0cc802c5f568fdda4173635ddc1ce59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaf3152a3cefec881402e22cef78407eba6ad136d52adae3acc4298f04484efc [INFO] running `Command { std: "docker" "start" "-a" "eaf3152a3cefec881402e22cef78407eba6ad136d52adae3acc4298f04484efc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ttf-parser v0.14.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling emath v0.16.0 [INFO] [stderr] Compiling atomic_refcell v0.1.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.14.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling ab_glyph v0.2.13 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling epaint v0.16.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Compiling egui v0.16.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling x11-clipboard v0.5.3 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling epi v0.16.0 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.5 [INFO] [stderr] Compiling copypasta v0.7.1 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling egui-winit v0.16.0 [INFO] [stderr] Compiling egui_glium v0.16.0 [INFO] [stderr] Compiling eframe v0.16.0 [INFO] [stderr] Compiling math-teaching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/slide/example.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw(&self, ui: Ui) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Error` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_SIZE` [INFO] [stdout] --> src/utils/queue.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const MAX_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QueueOverflowError` [INFO] [stdout] --> src/utils/queue.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | QueueOverflowError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueueError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/queue.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QueueUnderflowError` [INFO] [stdout] --> src/utils/queue.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | QueueUnderflowError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueueError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/queue.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Queue` [INFO] [stdout] --> src/utils/queue.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/queue.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn new() -> Queue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/utils/queue.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/utils/queue.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enqueue` [INFO] [stdout] --> src/utils/queue.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn enqueue(&mut self, item: T) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dequeue` [INFO] [stdout] --> src/utils/queue.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn dequeue(&mut self) -> crate::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 52s [INFO] running `Command { std: "docker" "inspect" "eaf3152a3cefec881402e22cef78407eba6ad136d52adae3acc4298f04484efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf3152a3cefec881402e22cef78407eba6ad136d52adae3acc4298f04484efc", kill_on_drop: false }` [INFO] [stdout] eaf3152a3cefec881402e22cef78407eba6ad136d52adae3acc4298f04484efc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea39e0149359fec0e9edaec9c457a31209c52501cf31028d33a41c618093242 [INFO] running `Command { std: "docker" "start" "-a" "8ea39e0149359fec0e9edaec9c457a31209c52501cf31028d33a41c618093242", 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] [stderr] Compiling math-teaching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/slide/example.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw(&self, ui: Ui) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Error` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_SIZE` [INFO] [stdout] --> src/utils/queue.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const MAX_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QueueOverflowError` [INFO] [stdout] --> src/utils/queue.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | QueueOverflowError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueueError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/queue.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `QueueUnderflowError` [INFO] [stdout] --> src/utils/queue.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | QueueUnderflowError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueueError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/queue.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Queue` [INFO] [stdout] --> src/utils/queue.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/queue.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn new() -> Queue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/utils/queue.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/utils/queue.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enqueue` [INFO] [stdout] --> src/utils/queue.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn enqueue(&mut self, item: T) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dequeue` [INFO] [stdout] --> src/utils/queue.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn dequeue(&mut self) -> crate::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "8ea39e0149359fec0e9edaec9c457a31209c52501cf31028d33a41c618093242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea39e0149359fec0e9edaec9c457a31209c52501cf31028d33a41c618093242", kill_on_drop: false }` [INFO] [stdout] 8ea39e0149359fec0e9edaec9c457a31209c52501cf31028d33a41c618093242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 601269c059e3199fe045fae5849ffed13b56c3b2a3fa2f1f5044f28ba2d64ac6 [INFO] running `Command { std: "docker" "start" "-a" "601269c059e3199fe045fae5849ffed13b56c3b2a3fa2f1f5044f28ba2d64ac6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `ui` [INFO] [stderr] --> src/slide/example.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | fn draw(&self, ui: Ui) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Result` [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | type Result = std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Error` [INFO] [stderr] --> src/error.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAX_SIZE` [INFO] [stderr] --> src/utils/queue.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | const MAX_SIZE: usize = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `QueueOverflowError` [INFO] [stderr] --> src/utils/queue.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | QueueOverflowError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueueError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/queue.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `QueueUnderflowError` [INFO] [stderr] --> src/utils/queue.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | QueueUnderflowError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueueError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/queue.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Queue` [INFO] [stderr] --> src/utils/queue.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Queue { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/utils/queue.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | fn new() -> Queue { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_empty` [INFO] [stderr] --> src/utils/queue.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_full` [INFO] [stderr] --> src/utils/queue.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | fn is_full(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `enqueue` [INFO] [stderr] --> src/utils/queue.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn enqueue(&mut self, item: T) -> crate::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dequeue` [INFO] [stderr] --> src/utils/queue.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | fn dequeue(&mut self) -> crate::Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `math-teaching` (bin "math-teaching" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/math_teaching-2607362e087f4312) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "601269c059e3199fe045fae5849ffed13b56c3b2a3fa2f1f5044f28ba2d64ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601269c059e3199fe045fae5849ffed13b56c3b2a3fa2f1f5044f28ba2d64ac6", kill_on_drop: false }` [INFO] [stdout] 601269c059e3199fe045fae5849ffed13b56c3b2a3fa2f1f5044f28ba2d64ac6