[INFO] cloning repository https://github.com/power3xz/rust-in-action [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/power3xz/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 409f37b437ad161cb1dc57f9410ca9123f97dcf6 [INFO] testing power3xz/rust-in-action against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/power3xz/rust-in-action on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/power3xz/rust-in-action [INFO] finished tweaking git repo https://github.com/power3xz/rust-in-action [INFO] tweaked toml for git repo https://github.com/power3xz/rust-in-action written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/power3xz/rust-in-action already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd5eaeb07e1a2147f9768ba6cbb3de93453413e3205df39da6897a3edc7c8f61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd5eaeb07e1a2147f9768ba6cbb3de93453413e3205df39da6897a3edc7c8f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd5eaeb07e1a2147f9768ba6cbb3de93453413e3205df39da6897a3edc7c8f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5eaeb07e1a2147f9768ba6cbb3de93453413e3205df39da6897a3edc7c8f61", kill_on_drop: false }` [INFO] [stdout] bd5eaeb07e1a2147f9768ba6cbb3de93453413e3205df39da6897a3edc7c8f61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fcda4b185554bbf534ca9b6f599479953a90edb94e90ce8b07364df29fad5f0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9fcda4b185554bbf534ca9b6f599479953a90edb94e90ce8b07364df29fad5f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling l4-19 v0.1.0 (/opt/rustwide/workdir/l4-19) [INFO] [stderr] Compiling l4-16 v0.1.0 (/opt/rustwide/workdir/l4-16) [INFO] [stderr] Compiling l3-9 v0.1.0 (/opt/rustwide/workdir/l3-9) [INFO] [stderr] Compiling l3-25 v0.1.0 (/opt/rustwide/workdir/l3-25) [INFO] [stderr] Compiling l3-19 v0.1.0 (/opt/rustwide/workdir/l3-19) [INFO] [stderr] Compiling l3-17 v0.1.0 (/opt/rustwide/workdir/l3-17) [INFO] [stderr] Compiling l2-17 v0.1.0 (/opt/rustwide/workdir/l2-17) [INFO] [stderr] Compiling l2-12 v0.1.0 (/opt/rustwide/workdir/l2-12) [INFO] [stderr] Compiling l2-1 v0.1.0 (/opt/rustwide/workdir/l2-1) [INFO] [stderr] Compiling l2-34 v0.1.0 (/opt/rustwide/workdir/l2-34) [INFO] [stderr] Compiling l1-6 v0.1.0 (/opt/rustwide/workdir/l1-6) [INFO] [stderr] Compiling l1-1 v0.1.0 (/opt/rustwide/workdir/l1-1) [INFO] [stderr] Compiling l2-25 v0.1.0 (/opt/rustwide/workdir/l2-25) [INFO] [stderr] Compiling l1-5 v0.1.0 (/opt/rustwide/workdir/l1-5) [INFO] [stderr] Compiling l2-4 v0.1.0 (/opt/rustwide/workdir/l2-4) [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `data`, which is owned by the current function [INFO] [stdout] --> l1-6/src/main.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(|| { [INFO] [stdout] | ^^ may outlive borrowed value `data` [INFO] [stdout] 7 | data = 500; [INFO] [stdout] | ---- `data` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> l1-6/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / thread::spawn(|| { [INFO] [stdout] 7 | | data = 500; [INFO] [stdout] 8 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] help: to force the closure to take ownership of `data` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(move || { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `data` as mutable more than once at a time [INFO] [stdout] --> l1-6/src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(|| { [INFO] [stdout] | - -- first mutable borrow occurs here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 7 | | data = 500; [INFO] [stdout] | | ---- first borrow occurs due to use of `data` in closure [INFO] [stdout] 8 | | }); [INFO] [stdout] | |______- argument requires that `data` is borrowed for `'static` [INFO] [stdout] 9 | thread::spawn(|| { [INFO] [stdout] | ^^ second mutable borrow occurs here [INFO] [stdout] 10 | data = 1000; [INFO] [stdout] | ---- second borrow occurs due to use of `data` in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `data`, which is owned by the current function [INFO] [stdout] --> l1-6/src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | thread::spawn(|| { [INFO] [stdout] | ^^ may outlive borrowed value `data` [INFO] [stdout] 10 | data = 1000; [INFO] [stdout] | ---- `data` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: function requires argument type to outlive `'static` [INFO] [stdout] --> l1-6/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / thread::spawn(|| { [INFO] [stdout] 10 | | data = 1000; [INFO] [stdout] 11 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] help: to force the closure to take ownership of `data` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 9 | thread::spawn(move || { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> l1-6/src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 6 | thread::spawn(|| { [INFO] [stdout] | - -- mutable borrow occurs here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 7 | | data = 500; [INFO] [stdout] | | ---- first borrow occurs due to use of `data` in closure [INFO] [stdout] 8 | | }); [INFO] [stdout] | |______- argument requires that `data` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 13 | println!("{}", data); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0373, E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `l1-6` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> l4-16/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CubeSat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> l4-16/src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `grains` [INFO] [stdout] --> l1-5/src/main.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 12 | let mut grains: Vec = vec![]; [INFO] [stdout] | ---------- move occurs because `grains` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 15 | drop(grains); [INFO] [stdout] | ------ value moved here [INFO] [stdout] 16 | [INFO] [stdout] 17 | println!("{:?}", grains) [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> l4-19/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | content: String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> l4-19/src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9fcda4b185554bbf534ca9b6f599479953a90edb94e90ce8b07364df29fad5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fcda4b185554bbf534ca9b6f599479953a90edb94e90ce8b07364df29fad5f0", kill_on_drop: false }` [INFO] [stdout] 9fcda4b185554bbf534ca9b6f599479953a90edb94e90ce8b07364df29fad5f0