[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/f7b67a86f4eae9010f73a979648f5c52e5aec5fb against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerFetzer%2Fin-code-we-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DerFetzer/in-code-we-rust on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui_extras v0.24.2 [INFO] [stderr] Downloaded ecolor v0.24.1 [INFO] [stderr] Downloaded console-api v0.6.0 [INFO] [stderr] Downloaded eframe v0.24.1 [INFO] [stderr] Downloaded egui-winit v0.24.1 [INFO] [stderr] Downloaded emath v0.24.1 [INFO] [stderr] Downloaded webbrowser v0.8.13 [INFO] [stderr] Downloaded egui_glow v0.24.1 [INFO] [stderr] Downloaded console-subscriber v0.2.0 [INFO] [stderr] Downloaded egui v0.24.1 [INFO] [stderr] Downloaded epaint v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 271d36528c827035bc3d9b409494386180735fc8ce9f4dd5f7b4fb464632ca95 [INFO] running `Command { std: "docker" "start" "-a" "271d36528c827035bc3d9b409494386180735fc8ce9f4dd5f7b4fb464632ca95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "271d36528c827035bc3d9b409494386180735fc8ce9f4dd5f7b4fb464632ca95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "271d36528c827035bc3d9b409494386180735fc8ce9f4dd5f7b4fb464632ca95", kill_on_drop: false }` [INFO] [stdout] 271d36528c827035bc3d9b409494386180735fc8ce9f4dd5f7b4fb464632ca95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fbfaca9087325efdc8901877b0c5e6a15183b8792a4e9cf5ee038d97097ead4 [INFO] running `Command { std: "docker" "start" "-a" "8fbfaca9087325efdc8901877b0c5e6a15183b8792a4e9cf5ee038d97097ead4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking socket2 v0.4.10 [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 cpufeatures v0.2.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [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 colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling winit v0.28.7 [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] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking nohash-hasher v0.2.0 [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 instant v0.1.12 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [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] Checking tokio v1.36.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling enumn v0.1.13 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking prost-types v0.12.3 [INFO] [stderr] Checking exercise-02 v0.1.0 (/opt/rustwide/workdir/crates/exercise-02) [INFO] [stderr] Checking webbrowser v0.8.13 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking exercise-03 v0.1.0 (/opt/rustwide/workdir/crates/exercise-03) [INFO] [stderr] Checking exercise-01 v0.1.0 (/opt/rustwide/workdir/crates/exercise-01) [INFO] [stderr] Checking color-spantrace v0.2.1 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0382]: borrow of moved value: `flour` [INFO] [stdout] --> crates/exercise-02/src/bin/b02.rs:15:40 [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:48 [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:55 [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] [stdout] error[E0382]: borrow of moved value: `flour` [INFO] [stdout] --> crates/exercise-02/src/bin/b02.rs:15:40 [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:48 [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:55 [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] error[E0308]: mismatched types [INFO] [stdout] --> crates/exercise-02/src/bin/b01.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | .add_ingredient("Flour") [INFO] [stdout] | -------------- ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/crates/exercise-02/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn add_ingredient(mut self, ingredient: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/exercise-02/src/bin/b01.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | .add_ingredient("Eggs") [INFO] [stdout] | -------------- ^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/crates/exercise-02/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn add_ingredient(mut self, ingredient: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercise-02` (bin "b02") due to 3 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/exercise-02/src/bin/b01.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | .add_ingredient("Sugar"); [INFO] [stdout] | -------------- ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/crates/exercise-02/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn add_ingredient(mut self, ingredient: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for struct `Cake` in the current scope [INFO] [stdout] --> crates/exercise-02/src/bin/b01.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | cake.eat(); [INFO] [stdout] | ^^^ method not found in `Cake` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Cake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercise-02` (bin "b01" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8fbfaca9087325efdc8901877b0c5e6a15183b8792a4e9cf5ee038d97097ead4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fbfaca9087325efdc8901877b0c5e6a15183b8792a4e9cf5ee038d97097ead4", kill_on_drop: false }` [INFO] [stdout] 8fbfaca9087325efdc8901877b0c5e6a15183b8792a4e9cf5ee038d97097ead4