[INFO] cloning repository https://github.com/loftmain/rust-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loftmain/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floftmain%2Frust-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floftmain%2Frust-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a23f389d53344c706ee3e4df2afafed643918a25
[INFO] testing loftmain/rust-study against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floftmain%2Frust-study" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/loftmain/rust-study on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/loftmain/rust-study
[INFO] finished tweaking git repo https://github.com/loftmain/rust-study
[INFO] tweaked toml for git repo https://github.com/loftmain/rust-study written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/loftmain/rust-study 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" "+nightly-2025-01-18" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 71608f6e9917f79bfe3b63b37285ccffb30a64087340e0aec341634d57f10d1b
[INFO] running `Command { std: "docker" "start" "-a" "71608f6e9917f79bfe3b63b37285ccffb30a64087340e0aec341634d57f10d1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71608f6e9917f79bfe3b63b37285ccffb30a64087340e0aec341634d57f10d1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71608f6e9917f79bfe3b63b37285ccffb30a64087340e0aec341634d57f10d1b", kill_on_drop: false }`
[INFO] [stdout] 71608f6e9917f79bfe3b63b37285ccffb30a64087340e0aec341634d57f10d1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a336dc4d6b52a8795129b90d6e4ed5b720e195bd7511dbf53b662abba0b1e8c
[INFO] running `Command { std: "docker" "start" "-a" "1a336dc4d6b52a8795129b90d6e4ed5b720e195bd7511dbf53b662abba0b1e8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling my-rust-book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0382]: borrow of moved value: `user`
[INFO] [stdout]   --> src/ownership_move/main.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 3  |     let user: [String; 3] = [
[INFO] [stdout]    |         ---- move occurs because `user` has type `[String; 3]`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 8  |     for c in user.into_iter() {
[INFO] [stdout]    |                   ----------- `user` moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 11 |     println!("{:?}", user);
[INFO] [stdout]    |                      ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `user`
[INFO] [stdout]   --> /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/iter/traits/collect.rs:313:18
[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: you can `clone` the value and consume it, but this might not be your desired behavior
[INFO] [stdout]    |
[INFO] [stdout] 8  |     for c in user.clone().into_iter() {
[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 `my-rust-book` (bin "ownership_move") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/enum_basic/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let tomorrow: WEEK = 1; // compile error !!!
[INFO] [stdout]    |                   ----   ^ expected `WEEK`, found integer
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-rust-book` (bin "enum_basic") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "1a336dc4d6b52a8795129b90d6e4ed5b720e195bd7511dbf53b662abba0b1e8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a336dc4d6b52a8795129b90d6e4ed5b720e195bd7511dbf53b662abba0b1e8c", kill_on_drop: false }`
[INFO] [stdout] 1a336dc4d6b52a8795129b90d6e4ed5b720e195bd7511dbf53b662abba0b1e8c
