[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 try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floftmain%2Frust-study" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/loftmain/rust-study on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd1f4cd8bfbe6c800895ebbecc129786dc674aa3f758df45088ca4c9f7106e0a [INFO] running `Command { std: "docker" "start" "-a" "cd1f4cd8bfbe6c800895ebbecc129786dc674aa3f758df45088ca4c9f7106e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd1f4cd8bfbe6c800895ebbecc129786dc674aa3f758df45088ca4c9f7106e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1f4cd8bfbe6c800895ebbecc129786dc674aa3f758df45088ca4c9f7106e0a", kill_on_drop: false }` [INFO] [stdout] cd1f4cd8bfbe6c800895ebbecc129786dc674aa3f758df45088ca4c9f7106e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4abf9487e703ed9bee6b08de954408f60180ca5a8edfd823af5b3dcbc63b560d [INFO] running `Command { std: "docker" "start" "-a" "4abf9487e703ed9bee6b08de954408f60180ca5a8edfd823af5b3dcbc63b560d", kill_on_drop: false }` [INFO] [stderr] Compiling my-rust-book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/option_enum/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let y: Option = None; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/iter/traits/collect.rs:312:17 [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" "4abf9487e703ed9bee6b08de954408f60180ca5a8edfd823af5b3dcbc63b560d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4abf9487e703ed9bee6b08de954408f60180ca5a8edfd823af5b3dcbc63b560d", kill_on_drop: false }` [INFO] [stdout] 4abf9487e703ed9bee6b08de954408f60180ca5a8edfd823af5b3dcbc63b560d