[INFO] cloning repository https://github.com/mlafroce/concurrentes-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlafroce/concurrentes-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fconcurrentes-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fconcurrentes-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71aad11a55ee4cd360686aeec04b1274f22cd1da [INFO] checking mlafroce/concurrentes-2018 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fconcurrentes-2018" "/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/mlafroce/concurrentes-2018 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mlafroce/concurrentes-2018 [INFO] finished tweaking git repo https://github.com/mlafroce/concurrentes-2018 [INFO] tweaked toml for git repo https://github.com/mlafroce/concurrentes-2018 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mlafroce/concurrentes-2018 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.94.0 [INFO] [stderr] Downloaded getopts v0.2.18 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aeadceaf3b6f56b051c8a35c51737661145d38de5b4776d4c6a18ef7d0f8597 [INFO] running `Command { std: "docker" "start" "-a" "8aeadceaf3b6f56b051c8a35c51737661145d38de5b4776d4c6a18ef7d0f8597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aeadceaf3b6f56b051c8a35c51737661145d38de5b4776d4c6a18ef7d0f8597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aeadceaf3b6f56b051c8a35c51737661145d38de5b4776d4c6a18ef7d0f8597", kill_on_drop: false }` [INFO] [stdout] 8aeadceaf3b6f56b051c8a35c51737661145d38de5b4776d4c6a18ef7d0f8597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f1649ecec09b31305ad3d097cca13ca90f455dcef9806abbbdfa2b64470bb0 [INFO] running `Command { std: "docker" "start" "-a" "55f1649ecec09b31305ad3d097cca13ca90f455dcef9806abbbdfa2b64470bb0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling ncurses v5.94.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking concurrentes v0.1.0 (/opt/rustwide/workdir/conculib) [INFO] [stderr] Checking tp1 v0.1.0 (/opt/rustwide/workdir/tp1) [INFO] [stdout] error[E0502]: cannot borrow `shared_ints` as immutable because it is also borrowed as mutable [INFO] [stdout] --> conculib/examples/02-shared_memory.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut array_cell = shared_ints.get_array_mut(); [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 41 | println!("Child wrote {}", shared_ints.get_item(4)); [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 42 | println!("Item array: {:?}", shared_ints.get_array()); [INFO] [stdout] 43 | } [INFO] [stdout] | - mutable borrow might be used here, when `shared_array` is dropped and runs the destructor for type `RefMut<'_, &mut [i32]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `shared_ints` as immutable because it is also borrowed as mutable [INFO] [stdout] --> conculib/examples/02-shared_memory.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 35 | let mut array_cell = shared_ints.get_array_mut(); [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 42 | println!("Item array: {:?}", shared_ints.get_array()); [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 43 | } [INFO] [stdout] | - mutable borrow might be used here, when `shared_array` is dropped and runs the destructor for type `RefMut<'_, &mut [i32]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `concurrentes` (example "02-shared_memory") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "55f1649ecec09b31305ad3d097cca13ca90f455dcef9806abbbdfa2b64470bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f1649ecec09b31305ad3d097cca13ca90f455dcef9806abbbdfa2b64470bb0", kill_on_drop: false }` [INFO] [stdout] 55f1649ecec09b31305ad3d097cca13ca90f455dcef9806abbbdfa2b64470bb0 [INFO] checking mlafroce/concurrentes-2018 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fconcurrentes-2018" "/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/mlafroce/concurrentes-2018 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mlafroce/concurrentes-2018 [INFO] finished tweaking git repo https://github.com/mlafroce/concurrentes-2018 [INFO] tweaked toml for git repo https://github.com/mlafroce/concurrentes-2018 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mlafroce/concurrentes-2018 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a63bbd1d5a2af492682f6e0a71e3cbd7005ecffb13205ac842d2b8309b3298f [INFO] running `Command { std: "docker" "start" "-a" "2a63bbd1d5a2af492682f6e0a71e3cbd7005ecffb13205ac842d2b8309b3298f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a63bbd1d5a2af492682f6e0a71e3cbd7005ecffb13205ac842d2b8309b3298f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a63bbd1d5a2af492682f6e0a71e3cbd7005ecffb13205ac842d2b8309b3298f", kill_on_drop: false }` [INFO] [stdout] 2a63bbd1d5a2af492682f6e0a71e3cbd7005ecffb13205ac842d2b8309b3298f [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6e4307aeb350e558a64391d33cfd83e8ffffd18ac8c673b684fc5311354ba4b [INFO] running `Command { std: "docker" "start" "-a" "c6e4307aeb350e558a64391d33cfd83e8ffffd18ac8c673b684fc5311354ba4b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "c6e4307aeb350e558a64391d33cfd83e8ffffd18ac8c673b684fc5311354ba4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e4307aeb350e558a64391d33cfd83e8ffffd18ac8c673b684fc5311354ba4b", kill_on_drop: false }` [INFO] [stdout] c6e4307aeb350e558a64391d33cfd83e8ffffd18ac8c673b684fc5311354ba4b