[INFO] cloning repository https://github.com/davidmitesh/Rust-Crash-course [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidmitesh/Rust-Crash-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmitesh%2FRust-Crash-course", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmitesh%2FRust-Crash-course'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f1a8a5460f4248ec39d1ad249fc84559b95ca69 [INFO] testing davidmitesh/Rust-Crash-course against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmitesh%2FRust-Crash-course" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidmitesh/Rust-Crash-course on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidmitesh/Rust-Crash-course [INFO] finished tweaking git repo https://github.com/davidmitesh/Rust-Crash-course [INFO] tweaked toml for git repo https://github.com/davidmitesh/Rust-Crash-course written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davidmitesh/Rust-Crash-course 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing davidmitesh/Rust-Crash-course against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmitesh%2FRust-Crash-course" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidmitesh/Rust-Crash-course on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidmitesh/Rust-Crash-course [INFO] finished tweaking git repo https://github.com/davidmitesh/Rust-Crash-course [INFO] tweaked toml for git repo https://github.com/davidmitesh/Rust-Crash-course written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/davidmitesh/Rust-Crash-course 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" "+beta-2024-03-24" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cde7d28b2a7dfff13387cc85a351c84730944b283300e32278f957ce94ff6df [INFO] running `Command { std: "docker" "start" "-a" "1cde7d28b2a7dfff13387cc85a351c84730944b283300e32278f957ce94ff6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cde7d28b2a7dfff13387cc85a351c84730944b283300e32278f957ce94ff6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cde7d28b2a7dfff13387cc85a351c84730944b283300e32278f957ce94ff6df", kill_on_drop: false }` [INFO] [stdout] 1cde7d28b2a7dfff13387cc85a351c84730944b283300e32278f957ce94ff6df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98f709dad95f5f4e385934f8be69f981165c476d9bd0546fc4dd842db18de58 [INFO] running `Command { std: "docker" "start" "-a" "c98f709dad95f5f4e385934f8be69f981165c476d9bd0546fc4dd842db18de58", kill_on_drop: false }` [INFO] [stderr] Compiling rust-crash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `divide2` [INFO] [stdout] --> src/results.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 21 | let divide2 = divide(2, 3); [INFO] [stdout] | ------- move occurs because `divide2` has type `Result`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 29 | println!("{:?}",÷2.unwrap()); [INFO] [stdout] | ------- -------- `divide2` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents [INFO] [stdout] ... [INFO] [stdout] 37 | println!("{:?}",divide2.unwrap_or(4)); [INFO] [stdout] | ^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: `Result::::unwrap` takes ownership of the receiver `self`, which moves `divide2` [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/result.rs:1071:19 [INFO] [stdout] help: you could `clone` the value and consume it, if the `MyError: Clone` trait bound could be satisfied [INFO] [stdout] | [INFO] [stdout] 29 | println!("{:?}",÷2.clone().unwrap()); [INFO] [stdout] | ++++++++ [INFO] [stdout] help: consider annotating `MyError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Clone)] [INFO] [stdout] 3 | enum MyError{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-crash` (bin "rust-crash") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c98f709dad95f5f4e385934f8be69f981165c476d9bd0546fc4dd842db18de58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98f709dad95f5f4e385934f8be69f981165c476d9bd0546fc4dd842db18de58", kill_on_drop: false }` [INFO] [stdout] c98f709dad95f5f4e385934f8be69f981165c476d9bd0546fc4dd842db18de58