[INFO] cloning repository https://github.com/soddygo/rust_test_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soddygo/rust_test_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoddygo%2Frust_test_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoddygo%2Frust_test_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a74a5bbda2d17489ee60d20b6e44322d5d44c4c [INFO] building soddygo/rust_test_demo against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoddygo%2Frust_test_demo" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soddygo/rust_test_demo on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soddygo/rust_test_demo [INFO] finished tweaking git repo https://github.com/soddygo/rust_test_demo [INFO] tweaked toml for git repo https://github.com/soddygo/rust_test_demo written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/soddygo/rust_test_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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 html2md v0.2.13 [INFO] [stderr] Downloaded xml5ever v0.16.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98a55a07ab469352bfe7ef22b372b4822d8682b6b29e4eff55ee3666125f9c82 [INFO] running `Command { std: "docker" "start" "-a" "98a55a07ab469352bfe7ef22b372b4822d8682b6b29e4eff55ee3666125f9c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98a55a07ab469352bfe7ef22b372b4822d8682b6b29e4eff55ee3666125f9c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a55a07ab469352bfe7ef22b372b4822d8682b6b29e4eff55ee3666125f9c82", kill_on_drop: false }` [INFO] [stdout] 98a55a07ab469352bfe7ef22b372b4822d8682b6b29e4eff55ee3666125f9c82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782af76c301316c65de8d65a7933766a2bf24e7e0624c275c62ef2954526b932 [INFO] running `Command { std: "docker" "start" "-a" "782af76c301316c65de8d65a7933766a2bf24e7e0624c275c62ef2954526b932", 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 libc v0.2.104 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling html2md v0.2.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling test1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply` [INFO] [stdout] --> src/demo1.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn apply(value: i32, f: fn(i32) -> i32) -> i32 { f(value)} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square` [INFO] [stdout] --> src/demo1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn square(value: i32) -> i32 { value * value} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cube` [INFO] [stdout] --> src/demo1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn cube(value: i32) -> i32 { value * value * value} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/demo1.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_md` [INFO] [stdout] --> src/demo0.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn convert_md() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unspecified` [INFO] [stdout] --> src/demo2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Unspecified = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Gender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[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: `name` [INFO] [stdout] --> src/demo2.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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: `gender` [INFO] [stdout] --> src/demo2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | gender: Gender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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: `name` [INFO] [stdout] --> src/demo2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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: `owner` [INFO] [stdout] --> src/demo2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | owner: UserId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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: `Leave` [INFO] [stdout] --> src/demo2.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Leave((UserId, TopicId)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[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: `fib_loop` [INFO] [stdout] --> src/demo3.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn fib_loop(n: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fib_while` [INFO] [stdout] --> src/demo3.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn fib_while(n: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fib_for` [INFO] [stdout] --> src/demo3.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn fib_for(n: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/demo3.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "782af76c301316c65de8d65a7933766a2bf24e7e0624c275c62ef2954526b932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782af76c301316c65de8d65a7933766a2bf24e7e0624c275c62ef2954526b932", kill_on_drop: false }` [INFO] [stdout] 782af76c301316c65de8d65a7933766a2bf24e7e0624c275c62ef2954526b932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a8187e5773095e9f1272fd175910752f5790616b7ff03c02bb1282059009833 [INFO] running `Command { std: "docker" "start" "-a" "1a8187e5773095e9f1272fd175910752f5790616b7ff03c02bb1282059009833", kill_on_drop: false }` [INFO] [stderr] Compiling test1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply` [INFO] [stdout] --> src/demo1.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn apply(value: i32, f: fn(i32) -> i32) -> i32 { f(value)} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square` [INFO] [stdout] --> src/demo1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn square(value: i32) -> i32 { value * value} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cube` [INFO] [stdout] --> src/demo1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn cube(value: i32) -> i32 { value * value * value} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/demo1.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_md` [INFO] [stdout] --> src/demo0.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn convert_md() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unspecified` [INFO] [stdout] --> src/demo2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Unspecified = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Gender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[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: `name` [INFO] [stdout] --> src/demo2.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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: `gender` [INFO] [stdout] --> src/demo2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | gender: Gender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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: `name` [INFO] [stdout] --> src/demo2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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: `owner` [INFO] [stdout] --> src/demo2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | owner: UserId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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: `Leave` [INFO] [stdout] --> src/demo2.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Leave((UserId, TopicId)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/demo2.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[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: `fib_loop` [INFO] [stdout] --> src/demo3.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn fib_loop(n: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fib_while` [INFO] [stdout] --> src/demo3.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn fib_while(n: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fib_for` [INFO] [stdout] --> src/demo3.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn fib_for(n: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/demo3.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.80s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/test1-c022a60dd4cb4ed4) [INFO] running `Command { std: "docker" "inspect" "1a8187e5773095e9f1272fd175910752f5790616b7ff03c02bb1282059009833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8187e5773095e9f1272fd175910752f5790616b7ff03c02bb1282059009833", kill_on_drop: false }` [INFO] [stdout] 1a8187e5773095e9f1272fd175910752f5790616b7ff03c02bb1282059009833