[INFO] cloning repository https://github.com/ritz-p/rust_exercise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ritz-p/rust_exercise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritz-p%2Frust_exercise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritz-p%2Frust_exercise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2d390f7e9e4d2af0aae8132cfe28d97c0eec59f [INFO] testing ritz-p/rust_exercise against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritz-p%2Frust_exercise" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ritz-p/rust_exercise on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ritz-p/rust_exercise [INFO] finished tweaking git repo https://github.com/ritz-p/rust_exercise [INFO] tweaked toml for git repo https://github.com/ritz-p/rust_exercise written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ritz-p/rust_exercise 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be3106767bc52b64ae6b157774bc0417db980616efa2d188b989582524249b66 [INFO] running `Command { std: "docker" "start" "-a" "be3106767bc52b64ae6b157774bc0417db980616efa2d188b989582524249b66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be3106767bc52b64ae6b157774bc0417db980616efa2d188b989582524249b66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3106767bc52b64ae6b157774bc0417db980616efa2d188b989582524249b66", kill_on_drop: false }` [INFO] [stdout] be3106767bc52b64ae6b157774bc0417db980616efa2d188b989582524249b66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00473af4b0a449856b38d24114965776e81cbdad80259d7e1c8b094546f03e98 [INFO] running `Command { std: "docker" "start" "-a" "00473af4b0a449856b38d24114965776e81cbdad80259d7e1c8b094546f03e98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common) [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 byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [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 semver v1.0.23 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.11.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling welcome_00 v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/00_welcome) [INFO] [stderr] Compiling match_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/02_match) [INFO] [stderr] Compiling error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [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 panics v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/04_panics) [INFO] [stderr] Compiling as_cast v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/10_as_casting) [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: 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 derives v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/04_derive) [INFO] [stderr] Compiling variables v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/02_variables) [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TicketNewError` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | 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/09_error_trait/src/lib.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | 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:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | enum Status { [INFO] [stdout] | ^^^^^^ [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:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 34 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling if_let v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/04_if_let) [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: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling leaking v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/03_leak) [INFO] [stderr] Compiling integers v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/01_integers) [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:10:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn radius(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mut_slice v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/11_mutable_slices) [INFO] [stderr] Compiling references_in_memory v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/10_references_in_memory) [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 scoped_threads v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/04_scoped_threads) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> exercises/07_threads/03_leak/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> exercises/07_threads/03_leak/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sum(v: Vec) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] [stderr] Compiling intro_01 v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/00_intro) [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> exercises/07_threads/04_scoped_threads/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sum(v: Vec) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling factorial v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/05_factorial) [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/exercises/01_intro/01_syntax) [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 interior_mutability v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/06_interior_mutability) [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 copy v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/12_copy) [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] error: expected type, found `"not yet implemented"` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | counter: todo!(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected type [INFO] [stdout] | in this macro invocation [INFO] [stdout] | this macro call doesn't expand to a type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `"not yet implemented"` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T, counter: todo!()) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected type [INFO] [stdout] | in this macro invocation [INFO] [stdout] | this macro call doesn't expand to a type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] error: could not compile `interior_mutability` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "00473af4b0a449856b38d24114965776e81cbdad80259d7e1c8b094546f03e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00473af4b0a449856b38d24114965776e81cbdad80259d7e1c8b094546f03e98", kill_on_drop: false }` [INFO] [stdout] 00473af4b0a449856b38d24114965776e81cbdad80259d7e1c8b094546f03e98