[INFO] cloning repository https://github.com/yangcancai/hello_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangcancai/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangcancai%2Fhello_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangcancai%2Fhello_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44edeb3f4be65431af2bcc58ff942e2fe842f3b6 [INFO] building yangcancai/hello_rust against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangcancai%2Fhello_rust" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yangcancai/hello_rust on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yangcancai/hello_rust [INFO] finished tweaking git repo https://github.com/yangcancai/hello_rust [INFO] tweaked toml for git repo https://github.com/yangcancai/hello_rust written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/yangcancai/hello_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66b9d5efa741701f81ba43fab9da6fe9609ae6ea6cb4cc25f269545ba56c8ddf [INFO] running `Command { std: "docker" "start" "-a" "66b9d5efa741701f81ba43fab9da6fe9609ae6ea6cb4cc25f269545ba56c8ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66b9d5efa741701f81ba43fab9da6fe9609ae6ea6cb4cc25f269545ba56c8ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b9d5efa741701f81ba43fab9da6fe9609ae6ea6cb4cc25f269545ba56c8ddf", kill_on_drop: false }` [INFO] [stdout] 66b9d5efa741701f81ba43fab9da6fe9609ae6ea6cb4cc25f269545ba56c8ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e77fc5feffc795b7d5e7813dc7b2dbf8cd8047f273d3a26d65190882d70857 [INFO] running `Command { std: "docker" "start" "-a" "f4e77fc5feffc795b7d5e7813dc7b2dbf8cd8047f273d3a26d65190882d70857", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cookie-factory v0.3.2 [INFO] [stderr] Compiling amq-protocol v6.0.3 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling lapin v1.7.1 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling boxfnonce v0.1.1 [INFO] [stderr] Compiling slice v0.1.0 (/opt/rustwide/workdir/slice) [INFO] [stderr] Compiling alloc v0.1.0 (/opt/rustwide/workdir/alloc) [INFO] [stderr] Compiling data_structure v0.1.0 (/opt/rustwide/workdir/data_structure) [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> data_structure/src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push(&mut self, elem: T) { [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: `remove` [INFO] [stdout] --> data_structure/src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn remove(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling daemonize v0.4.1 [INFO] [stderr] Compiling ctrlc v3.1.8 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling guess_game v0.1.0 (/opt/rustwide/workdir/guess_game) [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling amq-protocol-uri v6.0.3 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pinky-swear v4.4.0 [INFO] [stderr] Compiling tcp-stream v0.20.7 [INFO] [stderr] Compiling amq-protocol-tcp v6.0.3 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling http_server v0.1.0 (/opt/rustwide/workdir/http_server) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> http_server/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling amq-protocol-types v6.0.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.20 [INFO] [stderr] Compiling actor v0.1.0 (/opt/rustwide/workdir/actor) [INFO] [stderr] Compiling tokio-amqp v1.0.0 [INFO] [stderr] Compiling rabbit v0.1.0 (/opt/rustwide/workdir/rabbit) [INFO] [stdout] warning: unused imports: `BasicProperties`, `publisher_confirm::Confirmation` [INFO] [stdout] --> rabbit/src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | options::*, publisher_confirm::Confirmation, types::FieldTable, BasicProperties, Connection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rabbit/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut consumer = channel_a [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rabbit/src/lib.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | let mut consumer1 = channel_b [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> rabbit/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let collector = tracing_subscriber::fmt() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hello_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 628 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | pub mod time_test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | x: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | y: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | b: &'a P, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_ten_bytes_at_end` [INFO] [stdout] --> src/lib.rs:593:8 [INFO] [stdout] | [INFO] [stdout] 593 | fn write_ten_bytes_at_end(writer: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/daemon.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | thread::{self, sleep}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 628 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | pub mod time_test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `daemon::demo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use daemon::demo; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::executor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::rc_refcell_test` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hello_rust::rc_refcell_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::async_test` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use lib::async_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::control_flow` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lib::control_flow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::data_type` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lib::data_type; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::functions` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use lib::functions; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::macro_test` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lib::macro_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::struction` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lib::struction; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::time_test` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use lib::time_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `enum_struct`, `image`, `oop` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use lib::{enum_struct, image, oop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::mpsc::{self, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn hello(a: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/daemon.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(bool: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/daemon.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute1` [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn execute1(p: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute2` [INFO] [stdout] --> src/lib.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn execute2(p: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show` [INFO] [stdout] --> src/lib.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn show(s: &impl Shape) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hello` [INFO] [stdout] --> src/lib.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn is_hello>(s: T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | x: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | y: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | b: &'a P, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/lib.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn div(a: i32, b: i32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZERO` [INFO] [stdout] --> src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | ZERO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Why` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DivResult` [INFO] [stdout] --> src/lib.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub type DivResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div_r` [INFO] [stdout] --> src/lib.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn div_r(a: i32, b: i32) -> DivResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_dev` [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn check_dev(a: i32, b: i32) -> DivResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivisionByZero` [INFO] [stdout] --> src/lib.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegativeLogarithm` [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | NegativeLogarithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegativeSquareRoot` [INFO] [stdout] --> src/lib.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | NegativeSquareRoot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MathResult` [INFO] [stdout] --> src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | type MathResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/lib.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn div(x: f64, y: f64) -> MathResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqrt` [INFO] [stdout] --> src/lib.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn sqrt(x: f64) -> MathResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ln` [INFO] [stdout] --> src/lib.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn ln(x: f64) -> MathResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op_` [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn op_(x: f64, y: f64) -> MathResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op` [INFO] [stdout] --> src/lib.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn op(x: f64, y: f64) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> src/lib.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `install` [INFO] [stdout] --> src/lib.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn install(&mut self, plug: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Screen` [INFO] [stdout] --> src/lib.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `install` [INFO] [stdout] --> src/lib.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn install(&mut self, component: Box) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cons` [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | Cons(Rc>, &'a List<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/lib.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | fn new() -> MockMessenger { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_ten_bytes_at_end` [INFO] [stdout] --> src/lib.rs:593:8 [INFO] [stdout] | [INFO] [stdout] 593 | fn write_ten_bytes_at_end(writer: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 21s [INFO] running `Command { std: "docker" "inspect" "f4e77fc5feffc795b7d5e7813dc7b2dbf8cd8047f273d3a26d65190882d70857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e77fc5feffc795b7d5e7813dc7b2dbf8cd8047f273d3a26d65190882d70857", kill_on_drop: false }` [INFO] [stdout] f4e77fc5feffc795b7d5e7813dc7b2dbf8cd8047f273d3a26d65190882d70857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a86773f6d5b48baec0fee0555f112fc726a14866edcb1df360772324fc9de91 [INFO] running `Command { std: "docker" "start" "-a" "8a86773f6d5b48baec0fee0555f112fc726a14866edcb1df360772324fc9de91", kill_on_drop: false }` [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> data_structure/src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push(&mut self, elem: T) { [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: `remove` [INFO] [stdout] --> data_structure/src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn remove(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hello_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> http_server/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicProperties`, `publisher_confirm::Confirmation` [INFO] [stdout] --> rabbit/src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | options::*, publisher_confirm::Confirmation, types::FieldTable, BasicProperties, Connection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rabbit/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut consumer = channel_a [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rabbit/src/lib.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | let mut consumer1 = channel_b [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> rabbit/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let collector = tracing_subscriber::fmt() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 628 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | pub mod time_test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | x: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | y: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | b: &'a P, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_ten_bytes_at_end` [INFO] [stdout] --> src/lib.rs:593:8 [INFO] [stdout] | [INFO] [stdout] 593 | fn write_ten_bytes_at_end(writer: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/daemon.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | thread::{self, sleep}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 628 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | pub mod time_test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `daemon::demo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use daemon::demo; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::executor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::rc_refcell_test` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hello_rust::rc_refcell_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::async_test` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use lib::async_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::control_flow` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lib::control_flow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::data_type` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lib::data_type; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::functions` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use lib::functions; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::macro_test` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lib::macro_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::struction` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lib::struction; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::time_test` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use lib::time_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `enum_struct`, `image`, `oop` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use lib::{enum_struct, image, oop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::mpsc::{self, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn hello(a: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/daemon.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(bool: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/daemon.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute1` [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn execute1(p: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute2` [INFO] [stdout] --> src/lib.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn execute2(p: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show` [INFO] [stdout] --> src/lib.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn show(s: &impl Shape) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hello` [INFO] [stdout] --> src/lib.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn is_hello>(s: T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | x: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | y: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | b: &'a P, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/lib.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn div(a: i32, b: i32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZERO` [INFO] [stdout] --> src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | ZERO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Why` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DivResult` [INFO] [stdout] --> src/lib.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub type DivResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div_r` [INFO] [stdout] --> src/lib.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn div_r(a: i32, b: i32) -> DivResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_dev` [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn check_dev(a: i32, b: i32) -> DivResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivisionByZero` [INFO] [stdout] --> src/lib.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegativeLogarithm` [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | NegativeLogarithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegativeSquareRoot` [INFO] [stdout] --> src/lib.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | NegativeSquareRoot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MathResult` [INFO] [stdout] --> src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | type MathResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/lib.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn div(x: f64, y: f64) -> MathResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqrt` [INFO] [stdout] --> src/lib.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn sqrt(x: f64) -> MathResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ln` [INFO] [stdout] --> src/lib.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn ln(x: f64) -> MathResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op_` [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn op_(x: f64, y: f64) -> MathResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op` [INFO] [stdout] --> src/lib.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn op(x: f64, y: f64) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> src/lib.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `install` [INFO] [stdout] --> src/lib.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn install(&mut self, plug: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Screen` [INFO] [stdout] --> src/lib.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `install` [INFO] [stdout] --> src/lib.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn install(&mut self, component: Box) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cons` [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | Cons(Rc>, &'a List<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/lib.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | fn new() -> MockMessenger { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_ten_bytes_at_end` [INFO] [stdout] --> src/lib.rs:593:8 [INFO] [stdout] | [INFO] [stdout] 593 | fn write_ten_bytes_at_end(writer: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 628 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | pub mod time_test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/daemon.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | thread::{self, sleep}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 628 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | pub mod time_test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `daemon::demo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use daemon::demo; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::executor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::rc_refcell_test` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hello_rust::rc_refcell_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::async_test` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use lib::async_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::control_flow` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lib::control_flow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::data_type` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lib::data_type; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::functions` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use lib::functions; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::macro_test` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lib::macro_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::struction` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lib::struction; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::time_test` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use lib::time_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `enum_struct`, `image`, `oop` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use lib::{enum_struct, image, oop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::mpsc::{self, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | x: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | y: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | b: &'a P, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn hello(a: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/daemon.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(bool: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/daemon.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute1` [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn execute1(p: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute2` [INFO] [stdout] --> src/lib.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn execute2(p: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show` [INFO] [stdout] --> src/lib.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn show(s: &impl Shape) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hello` [INFO] [stdout] --> src/lib.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn is_hello>(s: T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | x: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | y: &'a f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | b: &'a P, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/lib.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn div(a: i32, b: i32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZERO` [INFO] [stdout] --> src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | ZERO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Why` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DivResult` [INFO] [stdout] --> src/lib.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub type DivResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div_r` [INFO] [stdout] --> src/lib.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn div_r(a: i32, b: i32) -> DivResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_dev` [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn check_dev(a: i32, b: i32) -> DivResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivisionByZero` [INFO] [stdout] --> src/lib.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | DivisionByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegativeLogarithm` [INFO] [stdout] --> src/lib.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | NegativeLogarithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegativeSquareRoot` [INFO] [stdout] --> src/lib.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | NegativeSquareRoot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MathError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MathResult` [INFO] [stdout] --> src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | type MathResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `div` [INFO] [stdout] --> src/lib.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn div(x: f64, y: f64) -> MathResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqrt` [INFO] [stdout] --> src/lib.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn sqrt(x: f64) -> MathResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ln` [INFO] [stdout] --> src/lib.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn ln(x: f64) -> MathResult { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op_` [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn op_(x: f64, y: f64) -> MathResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `op` [INFO] [stdout] --> src/lib.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn op(x: f64, y: f64) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> src/lib.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `install` [INFO] [stdout] --> src/lib.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn install(&mut self, plug: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Screen` [INFO] [stdout] --> src/lib.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/lib.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `install` [INFO] [stdout] --> src/lib.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn install(&mut self, component: Box) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cons` [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | Cons(Rc>, &'a List<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/lib.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | fn new() -> MockMessenger { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/lib.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn execute() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 29.01s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_rust-bac7f9e3307f4fb8) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_rust-a7a5c640ab9fa3eb) [INFO] [stderr] Executable tests/test.rs (/opt/rustwide/target/debug/deps/test-82bb708b1f413d1a) [INFO] running `Command { std: "docker" "inspect" "8a86773f6d5b48baec0fee0555f112fc726a14866edcb1df360772324fc9de91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a86773f6d5b48baec0fee0555f112fc726a14866edcb1df360772324fc9de91", kill_on_drop: false }` [INFO] [stdout] 8a86773f6d5b48baec0fee0555f112fc726a14866edcb1df360772324fc9de91