[INFO] cloning repository https://github.com/DerFetzer/in-code-we-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DerFetzer/in-code-we-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerFetzer%2Fin-code-we-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerFetzer%2Fin-code-we-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7b67a86f4eae9010f73a979648f5c52e5aec5fb
[INFO] checking DerFetzer/in-code-we-rust against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerFetzer%2Fin-code-we-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/DerFetzer/in-code-we-rust
[INFO] finished tweaking git repo https://github.com/DerFetzer/in-code-we-rust
[INFO] tweaked toml for git repo https://github.com/DerFetzer/in-code-we-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DerFetzer/in-code-we-rust on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DerFetzer/in-code-we-rust 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded console-api v0.6.0
[INFO] [stderr]   Downloaded egui-winit v0.24.1
[INFO] [stderr]   Downloaded egui_extras v0.24.2
[INFO] [stderr]   Downloaded clipboard-win v5.2.0
[INFO] [stderr]   Downloaded arboard v3.3.2
[INFO] [stderr]   Downloaded webbrowser v0.8.13
[INFO] [stderr]   Downloaded eframe v0.24.1
[INFO] [stderr]   Downloaded egui_glow v0.24.1
[INFO] [stderr]   Downloaded console-subscriber v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 077b5a6e9a59e4810c524ad0cb90aa6747d8d805f0710a3befd3616c2a10eedf
[INFO] running `Command { std: "docker" "start" "-a" "077b5a6e9a59e4810c524ad0cb90aa6747d8d805f0710a3befd3616c2a10eedf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "077b5a6e9a59e4810c524ad0cb90aa6747d8d805f0710a3befd3616c2a10eedf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "077b5a6e9a59e4810c524ad0cb90aa6747d8d805f0710a3befd3616c2a10eedf", kill_on_drop: false }`
[INFO] [stdout] 077b5a6e9a59e4810c524ad0cb90aa6747d8d805f0710a3befd3616c2a10eedf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a5c68f357babfae50173918eaf15b1f800a547ecaf76a1e9632555b4cd16768
[INFO] running `Command { std: "docker" "start" "-a" "5a5c68f357babfae50173918eaf15b1f800a547ecaf76a1e9632555b4cd16768", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking httparse v1.8.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking libloading v0.8.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.0
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking owned_ttf_parser v0.20.0
[INFO] [stderr]     Checking async-executor v1.8.0
[INFO] [stderr]     Checking xdg-home v1.1.0
[INFO] [stderr]     Checking ab_glyph v0.2.23
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking async-broadcast v0.5.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking ordered-stream v0.2.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]     Checking xcursor v0.3.5
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]    Compiling assert_cmd v2.0.14
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking predicates-tree v1.0.9
[INFO] [stderr]     Checking predicates v3.1.0
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.0
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]     Checking async-once-cell v0.5.3
[INFO] [stderr]    Compiling mime_guess2 v2.0.5
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking owo-colors v3.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling enumflags2_derive v0.7.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling zvariant_derive v3.15.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]    Compiling zbus_macros v3.15.2
[INFO] [stderr]    Compiling enumn v0.1.13
[INFO] [stderr]    Compiling async-recursion v1.0.5
[INFO] [stderr]    Compiling serde_repr v0.1.18
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling prost-derive v0.12.3
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking prost v0.12.3
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking exercise-02 v0.1.0 (/opt/rustwide/workdir/crates/exercise-02)
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]     Checking webbrowser v0.8.13
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking hdrhistogram v7.5.4
[INFO] [stderr]    Compiling enum-map-derive v0.17.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking prost-types v0.12.3
[INFO] [stderr]     Checking web-time v0.2.4
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking color-eyre v0.6.3
[INFO] [stderr]     Checking exercise-01 v0.1.0 (/opt/rustwide/workdir/crates/exercise-01)
[INFO] [stderr]     Checking exercise-03 v0.1.0 (/opt/rustwide/workdir/crates/exercise-03)
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn fill_stock(&mut self, book: Book, amount: u32) {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn fill_stock(&mut self, book: Book, amount: u32) {
[INFO] [stdout]    |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lend(&mut self, book: &Book) -> Result<(), LibraryError> {
[INFO] [stdout]    |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn take_back(&mut self, book: &Book) -> Result<(), LibraryError> {
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:43:38
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn get_overall_amount(&self, book: &Book) -> Option<u32> {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:48:35
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_lent_amount(&self, book: &Book) -> Option<u32> {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `overall` and `lent` are never read
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Stock {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 12 |     overall: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     lent: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stock` is never read
[INFO] [stdout]   --> crates/exercise-03/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Library {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 23 |     stock: HashMap<Book, Stock>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `decorate` found for enum `Option` in the current scope
[INFO] [stdout]   --> crates/exercise-02/src/bin/b03.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |       let decorated_cake = baked_cake
[INFO] [stdout]    |  __________________________-
[INFO] [stdout] 17 | |         .decorate("Cream".to_string())
[INFO] [stdout]    | |         -^^^^^^^^ method not found in `Option<Cake<Baked>>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout] note: the method `decorate` exists on the type `Cake<Baked>`
[INFO] [stdout]   --> /opt/rustwide/workdir/crates/exercise-02/src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn decorate(mut self, decoration: String) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Cake<Baked>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let decorated_cake = baked_cake.expect("REASON")
[INFO] [stdout]    |                                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-02` (bin "b03") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0505]: cannot move out of `decorated_cake` because it is borrowed
[INFO] [stdout]   --> crates/exercise-02/src/bin/b04.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let decorated_cake = baked_cake
[INFO] [stdout]    |             -------------- binding `decorated_cake` declared here
[INFO] [stdout] ...
[INFO] [stdout] 22 |         let first_ingredient = decorated_cake.get_ingredients().first().unwrap();
[INFO] [stdout]    |                                -------------- borrow of `decorated_cake` occurs here
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |         decorated_cake.eat();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ move out of `decorated_cake` occurs here
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |         println!("The first ingredient was: {first_ingredient}");
[INFO] [stdout]    |                                              ---------------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0505`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-02` (bin "b04" test) due to 1 previous error
[INFO] [stdout] error[E0505]: cannot move out of `decorated_cake` because it is borrowed
[INFO] [stdout]   --> crates/exercise-02/src/bin/b04.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let decorated_cake = baked_cake
[INFO] [stdout]    |             -------------- binding `decorated_cake` declared here
[INFO] [stdout] ...
[INFO] [stdout] 22 |         let first_ingredient = decorated_cake.get_ingredients().first().unwrap();
[INFO] [stdout]    |                                -------------- borrow of `decorated_cake` occurs here
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |         decorated_cake.eat();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ move out of `decorated_cake` occurs here
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |         println!("The first ingredient was: {first_ingredient}");
[INFO] [stdout]    |                                              ---------------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0505`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-02` (bin "b04") due to 1 previous error
[INFO] [stdout] error[E0382]: borrow of moved value: `flour`
[INFO] [stdout]   --> crates/exercise-02/src/bin/b02.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 6  |     let flour = "Flour".to_string();
[INFO] [stdout]    |         ----- move occurs because `flour` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |         .add_ingredient(flour)
[INFO] [stdout]    |                         ----- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 15 |     println!("Ingredients in the cake: {flour} {eggs} {sugar}");
[INFO] [stdout]    |                                         ^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 11 |         .add_ingredient(flour.clone())
[INFO] [stdout]    |                              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `eggs`
[INFO] [stdout]   --> crates/exercise-02/src/bin/b02.rs:15:49
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let eggs = "Eggs".to_string();
[INFO] [stdout]    |         ---- move occurs because `eggs` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 12 |         .add_ingredient(eggs)
[INFO] [stdout]    |                         ---- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 15 |     println!("Ingredients in the cake: {flour} {eggs} {sugar}");
[INFO] [stdout]    |                                                 ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .add_ingredient(eggs.clone())
[INFO] [stdout]    |                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `sugar`
[INFO] [stdout]   --> crates/exercise-02/src/bin/b02.rs:15:56
[INFO] [stdout]    |
[INFO] [stdout] 8  |     let sugar = "Sugar".to_string();
[INFO] [stdout]    |         ----- move occurs because `sugar` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |         .add_ingredient(sugar);
[INFO] [stdout]    |                         ----- value moved here
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     println!("Ingredients in the cake: {flour} {eggs} {sugar}");
[INFO] [stdout]    |                                                        ^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .add_ingredient(sugar.clone());
[INFO] [stdout]    |                              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-02` (bin "b02" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "5a5c68f357babfae50173918eaf15b1f800a547ecaf76a1e9632555b4cd16768", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a5c68f357babfae50173918eaf15b1f800a547ecaf76a1e9632555b4cd16768", kill_on_drop: false }`
[INFO] [stdout] 5a5c68f357babfae50173918eaf15b1f800a547ecaf76a1e9632555b4cd16768
