[INFO] cloning repository https://github.com/anmarchenko/my-rust-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anmarchenko/my-rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanmarchenko%2Fmy-rust-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanmarchenko%2Fmy-rust-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 198c4b172bf1e5a47d19309fffb19dcf8f96db2d [INFO] building anmarchenko/my-rust-exercises against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanmarchenko%2Fmy-rust-exercises" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anmarchenko/my-rust-exercises on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anmarchenko/my-rust-exercises [INFO] finished tweaking git repo https://github.com/anmarchenko/my-rust-exercises [INFO] tweaked toml for git repo https://github.com/anmarchenko/my-rust-exercises written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anmarchenko/my-rust-exercises already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 138bcd3796b2f5ff0c5c1edf4290c653581248af056374efff33e96c687f0857 [INFO] running `Command { std: "docker" "start" "-a" "138bcd3796b2f5ff0c5c1edf4290c653581248af056374efff33e96c687f0857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138bcd3796b2f5ff0c5c1edf4290c653581248af056374efff33e96c687f0857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138bcd3796b2f5ff0c5c1edf4290c653581248af056374efff33e96c687f0857", kill_on_drop: false }` [INFO] [stdout] 138bcd3796b2f5ff0c5c1edf4290c653581248af056374efff33e96c687f0857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9985ed5c0c1dd4e273d2243a0b9d55fd1f0f4316b83f5ff18e610d020e2f26f0 [INFO] running `Command { std: "docker" "start" "-a" "9985ed5c0c1dd4e273d2243a0b9d55fd1f0f4316b83f5ff18e610d020e2f26f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling pulldown-cmark-escape v0.10.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling packages v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/10_packages) [INFO] [stderr] Compiling deps v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/11_dependencies) [INFO] [stderr] Compiling static v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/02_static) [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> exercises/05_ticket_v2/11_dependencies/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/00_intro) [INFO] [stderr] Compiling notify-debouncer-mini v0.4.1 [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/03_ticket_v1/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling for_ v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/07_for) [INFO] [stderr] Compiling deref v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/07_deref) [INFO] [stderr] Compiling str_slice v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/06_str_slice) [INFO] [stderr] Compiling from v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/09_from) [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> exercises/04_traits/07_deref/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ticket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mut_slice v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/11_mutable_slices) [INFO] [stdout] warning: function `squared` is never used [INFO] [stdout] --> exercises/06_ticket_management/11_mutable_slices/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn squared(numbers: &mut [i32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling resizing v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/03_resizing) [INFO] [stderr] Compiling match_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/02_match) [INFO] [stderr] Compiling factorial v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/05_factorial) [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> exercises/05_ticket_v2/02_match/src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `n_sides` is never used [INFO] [stdout] --> exercises/05_ticket_v2/02_match/src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 10 | // TODO: Implement the `n_sides` method using a `match`. [INFO] [stdout] 11 | pub fn n_sides(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapping` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let wrapping: WrappingU32 = 42.into(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapping` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapping` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let wrapping = WrappingU32::from(42); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WrappingU32 { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling as_cast v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/10_as_casting) [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/01_syntax) [INFO] [stderr] Compiling destructor v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/11_destructor) [INFO] [stderr] Compiling ownership v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/06_ownership) [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> exercises/01_intro/01_syntax/src/lib.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn compute(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outro` is never used [INFO] [stdout] --> exercises/03_ticket_v1/11_destructor/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn outro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> exercises/02_basic_calculator/05_factorial/src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn factorial(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data) [INFO] [stderr] Compiling nullability v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/05_nullability) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/05_nullability/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/05_nullability/src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `assigned_to` are never used [INFO] [stdout] --> exercises/05_ticket_v2/05_nullability/src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn assigned_to(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intro_07 v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/00_intro) [INFO] [stderr] Compiling tryfrom v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/13_try_from) [INFO] [stderr] Compiling variables v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/02_variables) [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/07_threads/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vec v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/02_vec) [INFO] [stderr] Compiling leaking v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/03_leak) [INFO] [stderr] Compiling clone v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/11_clone) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `assigned_to` are never used [INFO] [stdout] --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn assigned_to(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling derives v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/04_derive) [INFO] [stderr] Compiling references_in_memory v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/10_references_in_memory) [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/10_references_in_memory/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling visibility v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/04_visibility) [INFO] [stderr] Compiling drop v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/13_drop) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(title: String, description: String, status: String) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/04_traits/04_derive/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling setters v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/07_setters) [INFO] [stderr] Compiling error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [INFO] [stderr] Compiling intro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/00_intro) [INFO] [stderr] Compiling while_ v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/06_while) [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/04_traits/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intro_01 v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/00_intro) [INFO] [stderr] Compiling overflow v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/08_overflow) [INFO] [stderr] Compiling trait_ v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/01_trait) [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum TicketNewError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TicketNewError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling outro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/12_outro) [INFO] [stdout] warning: function `easy_ticket` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/02_basic_calculator/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trait_bounds v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/05_trait_bounds) [INFO] [stderr] Compiling if_let v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/04_if_let) [INFO] [stderr] Compiling saturating v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/09_saturating) [INFO] [stderr] Compiling if_else v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/03_if_else) [INFO] [stderr] Compiling scoped_threads v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/04_scoped_threads) [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> exercises/02_basic_calculator/03_if_else/src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(n: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsEven` is never used [INFO] [stdout] --> exercises/04_traits/01_trait/src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait IsEven { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling copy v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/12_copy) [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> exercises/05_ticket_v2/04_if_let/src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `radius` is never used [INFO] [stdout] --> exercises/05_ticket_v2/04_if_let/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 8 | pub fn radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling validation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/02_validation) [INFO] [stderr] Compiling panics v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/04_panics) [INFO] [stderr] Compiling error_enums v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/08_error_enums) [INFO] [stderr] Compiling heap v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/09_heap) [INFO] [stderr] Compiling modules v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/03_modules) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn new(title: String, description: String, status: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/09_heap/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `speed` is never used [INFO] [stdout] --> exercises/02_basic_calculator/04_panics/src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn speed(start: u32, end: u32, time_elapsed: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling outro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/14_outro) [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum TicketNewError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `easy_ticket` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling outro_04 v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/15_outro) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling integers v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/01_integers) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | fn new(title: String, description: String, status: String) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_todo_ticket` is never used [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_todo_ticket(title: String, description: String) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unwrap v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/07_unwrap) [INFO] [stderr] Compiling overloading v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/03_operator_overloading) [INFO] [stderr] Compiling assoc_vs_generic v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/10_assoc_vs_generic) [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> exercises/02_basic_calculator/01_integers/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn compute(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sized v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/08_sized) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/04_traits/03_operator_overloading/src/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling interior_mutability v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/06_interior_mutability) [INFO] [stdout] warning: function `easy_ticket` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling welcome_00 v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/00_welcome) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Power` is never used [INFO] [stdout] --> exercises/04_traits/10_assoc_vs_generic/src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait Power { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(title: String, description: String, status: Status) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DropTracker { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling encapsulation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/05_encapsulation) [INFO] [stderr] Compiling struct_ v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/01_struct) [INFO] [stderr] Compiling fallibility v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/06_fallibility) [INFO] [stderr] Compiling intro_05 v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/00_intro) [INFO] [stderr] Compiling intro_08 v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/00_intro) [INFO] [stderr] Compiling stack v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/08_stack) [INFO] [stdout] warning: function `greeting` is never used [INFO] [stdout] --> exercises/01_intro/00_welcome/src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn greeting() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling orphan v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/02_orphan_rule) [INFO] [stderr] Compiling arrays v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/01_arrays) [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/06_ticket_management/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/08_futures/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/01_struct/src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_available` is never used [INFO] [stdout] --> exercises/03_ticket_v1/01_struct/src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Order { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intro_04 v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/00_intro) [INFO] [stderr] Compiling slice v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/10_slices) [INFO] [stderr] Compiling enum_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/01_enum) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sync v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/14_sync) [INFO] [stderr] Compiling threads v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/01_threads) [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(title: String, description: String, status: Status) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outro` is never used [INFO] [stdout] --> exercises/07_threads/14_sync/src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn outro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/05_ticket_v2/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> exercises/06_ticket_management/10_slices/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn sum(numbers: &[u32]) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `title`, `description`, and `status` are never used [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn status(&self) -> &Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling clap_complete v4.5.2 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling opener v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ticket_fields v0.1.0 (/opt/rustwide/workdir/helpers/ticket_fields) [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling thiserror_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/12_thiserror) [INFO] [stderr] Compiling source v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/14_source) [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum TicketNewError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TicketNewError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling index v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/13_index) [INFO] [stderr] Compiling impl_trait_2 v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/09_impl_trait_2) [INFO] [stderr] Compiling iter v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/05_iter) [INFO] [stderr] Compiling lifetime v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/06_lifetimes) [INFO] [stderr] Compiling bounded v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/09_bounded) [INFO] [stderr] Compiling btreemap v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/16_btreemap) [INFO] [stderr] Compiling combinators v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/07_combinators) [INFO] [stderr] Compiling response v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/07_ack) [INFO] [stderr] Compiling patch v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/10_patch) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> exercises/06_ticket_management/06_lifetimes/src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter(&self) -> std::slice::Iter<'_, Ticket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling two_states v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/12_two_states) [INFO] [stderr] Compiling rwlock v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/12_rw_lock) [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/10_patch/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/10_patch/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/05_channels) [INFO] [stdout] warning: unused import: `TrySendError` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{sync_channel, Receiver, SyncSender, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/store.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling index_mut v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/14_index_mut) [INFO] [stderr] Compiling impl_trait v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/08_impl_trait) [INFO] [stderr] Compiling without_channels v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/13_without_channels) [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/08_client) [INFO] [stderr] Compiling locks v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/11_locks) [INFO] [stderr] Compiling hashmap v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/15_hashmap) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/04_iterators) [INFO] [stdout] warning: unused import: `TrySendError` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{sync_channel, Receiver, SyncSender, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling blocking v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/05_blocking) [INFO] [stderr] Compiling future v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/04_future) [INFO] [stderr] Compiling async_locks v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/06_async_aware_primitives) [INFO] [stderr] Compiling spawn v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/02_spawn) [INFO] [stderr] Compiling cancellation v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/07_cancellation) [INFO] [stderr] Compiling outro_08 v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/08_outro) [INFO] [stderr] Compiling runtime v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/03_runtime) [INFO] [stderr] Compiling async_fn v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/01_async_fn) [INFO] [stdout] warning: function `spawner` is never used [INFO] [stdout] --> exercises/08_futures/04_future/src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn spawner() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> exercises/08_futures/04_future/src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> exercises/08_futures/03_runtime/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::join!(handle1, handle2,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> exercises/08_futures/03_runtime/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::join!(handle1, handle2,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling elasticlunr-rs v3.0.2 [INFO] [stderr] Compiling ammonia v4.0.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling mdbook v0.4.40 [INFO] [stderr] Compiling mdbook-exercise-linker v0.1.0 (/opt/rustwide/workdir/helpers/mdbook-exercise-linker) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "9985ed5c0c1dd4e273d2243a0b9d55fd1f0f4316b83f5ff18e610d020e2f26f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9985ed5c0c1dd4e273d2243a0b9d55fd1f0f4316b83f5ff18e610d020e2f26f0", kill_on_drop: false }` [INFO] [stdout] 9985ed5c0c1dd4e273d2243a0b9d55fd1f0f4316b83f5ff18e610d020e2f26f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 339610587a2b3f9c5d8c38de1f8e46edc88dee54cfd35c04627fb0d35d116710 [INFO] running `Command { std: "docker" "start" "-a" "339610587a2b3f9c5d8c38de1f8e46edc88dee54cfd35c04627fb0d35d116710", kill_on_drop: false }` [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stdout] warning: unused import: `TrySendError` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{sync_channel, Receiver, SyncSender, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/10_patch/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/10_patch/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrySendError` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{sync_channel, Receiver, SyncSender, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/store.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> exercises/08_futures/03_runtime/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::join!(handle1, handle2,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> exercises/08_futures/03_runtime/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::join!(handle1, handle2,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawner` is never used [INFO] [stdout] --> exercises/08_futures/04_future/src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn spawner() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> exercises/08_futures/04_future/src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> exercises/06_ticket_management/06_lifetimes/src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter(&self) -> std::slice::Iter<'_, Ticket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> exercises/05_ticket_v2/11_dependencies/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum TicketNewError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TicketNewError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/04_traits/03_operator_overloading/src/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `title`, `description`, and `status` are never used [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn status(&self) -> &Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outro` is never used [INFO] [stdout] --> exercises/03_ticket_v1/11_destructor/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn outro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/06_ticket_management/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/04_traits/04_derive/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(title: String, description: String, status: Status) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> exercises/01_intro/01_syntax/src/lib.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn compute(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outro` is never used [INFO] [stdout] --> exercises/07_threads/14_sync/src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn outro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greeting` is never used [INFO] [stdout] --> exercises/01_intro/00_welcome/src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn greeting() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `speed` is never used [INFO] [stdout] --> exercises/02_basic_calculator/04_panics/src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn speed(start: u32, end: u32, time_elapsed: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `squared` is never used [INFO] [stdout] --> exercises/06_ticket_management/11_mutable_slices/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn squared(numbers: &mut [i32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> exercises/02_basic_calculator/01_integers/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn compute(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | fn new(title: String, description: String, status: String) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_todo_ticket` is never used [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_todo_ticket(title: String, description: String) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/03_ticket_v1/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/09_heap/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn new(title: String, description: String, status: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> exercises/05_ticket_v2/04_if_let/src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `radius` is never used [INFO] [stdout] --> exercises/05_ticket_v2/04_if_let/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 8 | pub fn radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/08_futures/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsEven` is never used [INFO] [stdout] --> exercises/04_traits/01_trait/src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait IsEven { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> exercises/05_ticket_v2/02_match/src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `n_sides` is never used [INFO] [stdout] --> exercises/05_ticket_v2/02_match/src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 10 | // TODO: Implement the `n_sides` method using a `match`. [INFO] [stdout] 11 | pub fn n_sides(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(title: String, description: String, status: String) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/07_threads/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> exercises/02_basic_calculator/03_if_else/src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(n: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `easy_ticket` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(title: String, description: String, status: Status) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/01_struct/src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_available` is never used [INFO] [stdout] --> exercises/03_ticket_v1/01_struct/src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Order { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/04_traits/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `assigned_to` are never used [INFO] [stdout] --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn assigned_to(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> exercises/06_ticket_management/10_slices/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn sum(numbers: &[u32]) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum TicketNewError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `easy_ticket` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mdbook-exercise-linker v0.1.0 (/opt/rustwide/workdir/helpers/mdbook-exercise-linker) [INFO] [stderr] Compiling bounded v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/09_bounded) [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/02_basic_calculator/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling outro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/12_outro) [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> exercises/02_basic_calculator/05_factorial/src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn factorial(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> exercises/04_traits/07_deref/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ticket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapping` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let wrapping: WrappingU32 = 42.into(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapping` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapping` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let wrapping = WrappingU32::from(42); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WrappingU32 { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DropTracker { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum TicketNewError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TicketNewError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `easy_ticket` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/10_references_in_memory/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intro` is never used [INFO] [stdout] --> exercises/05_ticket_v2/00_intro/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn intro() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/05_ticket_v2/05_nullability/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/05_nullability/src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `assigned_to` are never used [INFO] [stdout] --> exercises/05_ticket_v2/05_nullability/src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn assigned_to(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Power` is never used [INFO] [stdout] --> exercises/04_traits/10_assoc_vs_generic/src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait Power { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling response v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/07_ack) [INFO] [stderr] Compiling locks v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/11_locks) [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/05_channels) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/08_client) [INFO] [stderr] Compiling outro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/14_outro) [INFO] [stderr] Compiling packages v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/10_packages) [INFO] [stderr] Compiling patch v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/10_patch) [INFO] [stderr] Compiling rwlock v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/12_rw_lock) [INFO] [stderr] Compiling without_channels v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/13_without_channels) [INFO] [stderr] Compiling async_fn v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/01_async_fn) [INFO] [stderr] Compiling cancellation v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/07_cancellation) [INFO] [stderr] Compiling error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 51 | ToDo, [INFO] [stdout] 52 | InProgress { assigned_to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling future v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/04_future) [INFO] [stderr] Compiling runtime v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/03_runtime) [INFO] [stdout] warning: function `spawner` is never used [INFO] [stdout] --> exercises/08_futures/04_future/src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn spawner() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> exercises/08_futures/04_future/src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> exercises/08_futures/03_runtime/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::join!(handle1, handle2,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> exercises/08_futures/03_runtime/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::join!(handle1, handle2,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blocking v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/05_blocking) [INFO] [stderr] Compiling spawn v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/02_spawn) [INFO] [stderr] Compiling outro_08 v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/08_outro) [INFO] [stderr] Compiling async_locks v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/06_async_aware_primitives) [INFO] [stderr] Compiling lifetime v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/06_lifetimes) [INFO] [stderr] Compiling two_states v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/12_two_states) [INFO] [stderr] Compiling iter v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/05_iter) [INFO] [stdout] warning: unused variable: `ticket2` [INFO] [stdout] --> exercises/06_ticket_management/12_two_states/src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let ticket2 = store.get(id2).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ticket2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling impl_trait_2 v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/09_impl_trait_2) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> exercises/06_ticket_management/06_lifetimes/src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn iter(&self) -> std::slice::Iter<'_, Ticket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling btreemap v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/16_btreemap) [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> exercises/06_ticket_management/16_btreemap/src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | for i in 0..n_tickets { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling index_mut v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/14_index_mut) [INFO] [stdout] warning: unused import: `TrySendError` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{sync_channel, Receiver, SyncSender, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling index v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/13_index) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/04_iterators) [INFO] [stderr] Compiling hashmap v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/15_hashmap) [INFO] [stderr] Compiling impl_trait v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/08_impl_trait) [INFO] [stdout] warning: unused import: `TrySendError` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{sync_channel, Receiver, SyncSender, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/store.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/11_locks/src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/10_patch/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/10_patch/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ticket2` [INFO] [stdout] --> exercises/06_ticket_management/13_index/src/lib.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let ticket2 = &store[&id2]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ticket2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/12_rw_lock/src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling deps v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/11_dependencies) [INFO] [stderr] Compiling combinators v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/07_combinators) [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> exercises/05_ticket_v2/11_dependencies/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ticket_fields v0.1.0 (/opt/rustwide/workdir/helpers/ticket_fields) [INFO] [stderr] Compiling source v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/14_source) [INFO] [stderr] Compiling thiserror_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/12_thiserror) [INFO] [stderr] Compiling nullability v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/05_nullability) [INFO] [stderr] Compiling variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data) [INFO] [stderr] Compiling fallibility v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/06_fallibility) [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 29 | ToDo, [INFO] [stdout] 30 | InProgress { assigned_to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 13 | ToDo, [INFO] [stdout] 14 | InProgress { assigned_to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling str_slice v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/06_str_slice) [INFO] [stderr] Compiling setters v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/07_setters) [INFO] [stderr] Compiling error_enums v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/08_error_enums) [INFO] [stderr] Compiling unwrap v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/07_unwrap) [INFO] [stderr] Compiling validation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/02_validation) [INFO] [stderr] Compiling enum_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/01_enum) [INFO] [stderr] Compiling visibility v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/04_visibility) [INFO] [stderr] Compiling overflow v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/08_overflow) [INFO] [stderr] Compiling derives v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/04_derive) [INFO] [stdout] warning: associated items `new`, `title`, `description`, and `status` are never used [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Ticket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn status(&self) -> &Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ticket` [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let ticket = Ticket { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ticket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intro_04 v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/00_intro) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(title: String, description: String, status: String) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_not_be_possible` is never used [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn should_not_be_possible() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encapsulation_cannot_be_violated` is never used [INFO] [stdout] --> exercises/03_ticket_v1/04_visibility/src/lib.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn encapsulation_cannot_be_violated() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling threads v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/01_threads) [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 23 | ToDo, [INFO] [stdout] 24 | InProgress { assigned_to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | Description(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Description(String), [INFO] [stdout] 3 + Description(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 29 | ToDo, [INFO] [stdout] 30 | InProgress { assigned_to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stack v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/08_stack) [INFO] [stderr] Compiling intro_08 v0.1.0 (/opt/rustwide/workdir/exercises/08_futures/00_intro) [INFO] [stderr] Compiling for_ v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/07_for) [INFO] [stderr] Compiling slice v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/10_slices) [INFO] [stderr] Compiling orphan v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/02_orphan_rule) [INFO] [stderr] Compiling destructor v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/11_destructor) [INFO] [stderr] Compiling leaking v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/03_leak) [INFO] [stderr] Compiling struct_ v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/01_struct) [INFO] [stderr] Compiling arrays v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/01_arrays) [INFO] [stderr] Compiling mut_slice v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/11_mutable_slices) [INFO] [stdout] warning: field `price` is never read [INFO] [stdout] --> exercises/03_ticket_v1/01_struct/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Order { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | price: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sized v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/08_sized) [INFO] [stderr] Compiling intro_05 v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/00_intro) [INFO] [stderr] Compiling trait_bounds v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/05_trait_bounds) [INFO] [stderr] Compiling heap v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/09_heap) [INFO] [stderr] Compiling interior_mutability v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/06_interior_mutability) [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/09_heap/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/00_intro) [INFO] [stderr] Compiling match_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/02_match) [INFO] [stderr] Compiling static v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/02_static) [INFO] [stderr] Compiling saturating v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/09_saturating) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let a = DropTracker::new(5, Rc::clone(&counter)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let b = DropTracker::new(6, Rc::clone(&counter)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DropTracker { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trait_ v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/01_trait) [INFO] [stderr] Compiling intro_07 v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/00_intro) [INFO] [stderr] Compiling intro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/00_intro) [INFO] [stderr] Compiling panics v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/04_panics) [INFO] [stderr] Compiling sync v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/14_sync) [INFO] [stderr] Compiling references_in_memory v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/10_references_in_memory) [INFO] [stderr] Compiling ownership v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/06_ownership) [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling if_else v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/03_if_else) [INFO] [stderr] Compiling modules v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/03_modules) [INFO] [stdout] warning: fields `title`, `description`, and `status` are never read [INFO] [stdout] --> exercises/03_ticket_v1/10_references_in_memory/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Ticket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling as_cast v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/10_as_casting) [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | fn new(title: String, description: String, status: String) -> Ticket { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_todo_ticket` is never used [INFO] [stdout] --> exercises/03_ticket_v1/03_modules/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_todo_ticket(title: String, description: String) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling from v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/09_from) [INFO] [stdout] warning: unused variable: `wrapping` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let wrapping: WrappingU32 = 42.into(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapping` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapping` [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let wrapping = WrappingU32::from(42); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WrappingU32 { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> exercises/04_traits/09_from/src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling integers v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/01_integers) [INFO] [stderr] Compiling if_let v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/04_if_let) [INFO] [stderr] Compiling tryfrom v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/13_try_from) [INFO] [stderr] Compiling vec v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/02_vec) [INFO] [stderr] Compiling welcome_00 v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/00_welcome) [INFO] [stdout] warning: field `border` is never read [INFO] [stdout] --> exercises/05_ticket_v2/04_if_let/src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | Square { border: f64 }, [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> exercises/05_ticket_v2/04_if_let/src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | Rectangle { width: f64, height: f64 }, [INFO] [stdout] | --------- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling variables v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/02_variables) [INFO] [stderr] Compiling scoped_threads v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/04_scoped_threads) [INFO] [stderr] Compiling encapsulation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/05_encapsulation) [INFO] [stderr] Compiling resizing v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/03_resizing) [INFO] [stderr] Compiling clone v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/11_clone) [INFO] [stderr] Compiling drop v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/13_drop) [INFO] [stderr] Compiling deref v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/07_deref) [INFO] [stderr] Compiling factorial v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/05_factorial) [INFO] [stdout] warning: unused variable: `bomb` [INFO] [stdout] --> exercises/04_traits/13_drop/src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let bomb = DropBomb::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bomb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> exercises/04_traits/07_deref/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ticket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling assoc_vs_generic v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/10_assoc_vs_generic) [INFO] [stderr] Compiling while_ v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/06_while) [INFO] [stderr] Compiling copy v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/12_copy) [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/01_syntax) [INFO] [stderr] Compiling outro_04 v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/15_outro) [INFO] [stderr] Compiling intro_01 v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/00_intro) [INFO] [stderr] Compiling overloading v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/03_operator_overloading) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.04s [INFO] running `Command { std: "docker" "inspect" "339610587a2b3f9c5d8c38de1f8e46edc88dee54cfd35c04627fb0d35d116710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339610587a2b3f9c5d8c38de1f8e46edc88dee54cfd35c04627fb0d35d116710", kill_on_drop: false }` [INFO] [stdout] 339610587a2b3f9c5d8c38de1f8e46edc88dee54cfd35c04627fb0d35d116710