[INFO] cloning repository https://github.com/dairyisscary/for-your-reference-part-4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dairyisscary/for-your-reference-part-4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39fc1303b36056a8c7096d94f867b99911ab0631 [INFO] testing dairyisscary/for-your-reference-part-4 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-4" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dairyisscary/for-your-reference-part-4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dairyisscary/for-your-reference-part-4 [INFO] finished tweaking git repo https://github.com/dairyisscary/for-your-reference-part-4 [INFO] tweaked toml for git repo https://github.com/dairyisscary/for-your-reference-part-4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/dairyisscary/for-your-reference-part-4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 37bff5139b5eaa958ddf6a3984924a108feb6677aeac9e254723591c9d2923d5 [INFO] running `Command { std: "docker" "start" "-a" "37bff5139b5eaa958ddf6a3984924a108feb6677aeac9e254723591c9d2923d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37bff5139b5eaa958ddf6a3984924a108feb6677aeac9e254723591c9d2923d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37bff5139b5eaa958ddf6a3984924a108feb6677aeac9e254723591c9d2923d5", kill_on_drop: false }` [INFO] [stdout] 37bff5139b5eaa958ddf6a3984924a108feb6677aeac9e254723591c9d2923d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 68dc243cc625c13dd41a538d2fbd3b6391762e57ddbfcd1a835229ca6aa06295 [INFO] running `Command { std: "docker" "start" "-a" "68dc243cc625c13dd41a538d2fbd3b6391762e57ddbfcd1a835229ca6aa06295", kill_on_drop: false }` [INFO] [stderr] Compiling three v0.1.0 (/opt/rustwide/workdir/three) [INFO] [stderr] Compiling five v0.1.0 (/opt/rustwide/workdir/five) [INFO] [stderr] Compiling two v0.1.0 (/opt/rustwide/workdir/two) [INFO] [stderr] Compiling one v0.1.0 (/opt/rustwide/workdir/one) [INFO] [stderr] Compiling four v0.1.0 (/opt/rustwide/workdir/four) [INFO] [stdout] error[E0382]: borrow of moved value: `accum` [INFO] [stdout] --> four/src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 41 | let mut accum = VecAccumulator::from(&vec![1, 2, 3]); [INFO] [stdout] | --------- move occurs because `accum` has type `VecAccumulator`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 47 | let _final_sum = accum.invalidate_me(); [INFO] [stdout] | --------------- `accum` moved due to this method call [INFO] [stdout] 48 | accum.print(); // opps [INFO] [stdout] | ^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `accum` [INFO] [stdout] --> four/src/main.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn invalidate_me(self) -> i32 { [INFO] [stdout] | ^^^^ [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] [stderr] error: could not compile `four` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0596]: cannot borrow `*borrowed_vec` as mutable, as it is behind a `&` reference [INFO] [stdout] --> two/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn put_a_one_into_it_opps(borrowed_vec: &Vec) { [INFO] [stdout] | --------- help: consider changing this to be a mutable reference: `&mut Vec` [INFO] [stdout] 6 | borrowed_vec.push(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `borrowed_vec` is a `&` reference, so the data it refers to cannot be borrowed as mutable [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 E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `two` due to 2 previous errors [INFO] [stdout] error[E0502]: cannot borrow `dynamic_string` as mutable because it is also borrowed as immutable [INFO] [stdout] --> five/src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | let found_o = find_first_char(&dynamic_string, 'o'); [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 32 | dynamic_string.push_str(" -- even more stuff"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 33 | println!("\nSearching:\n{}", found_o); // oppps ?!?! [INFO] [stdout] | ------- immutable borrow later used here [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 E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `five` due to 2 previous errors [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> three/src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fn ops_dangle() -> &Vec { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 6 | fn ops_dangle() -> &'static Vec { [INFO] [stdout] | ~~~~~~~~ [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 E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `three` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "68dc243cc625c13dd41a538d2fbd3b6391762e57ddbfcd1a835229ca6aa06295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68dc243cc625c13dd41a538d2fbd3b6391762e57ddbfcd1a835229ca6aa06295", kill_on_drop: false }` [INFO] [stdout] 68dc243cc625c13dd41a538d2fbd3b6391762e57ddbfcd1a835229ca6aa06295