[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 try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fconcurrentes-2018" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mlafroce/concurrentes-2018 on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "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-0/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: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 480f9e1f6624cb479487e086f44c050888a734509631f34b3a2a2ba1dfb99002 [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" "480f9e1f6624cb479487e086f44c050888a734509631f34b3a2a2ba1dfb99002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "480f9e1f6624cb479487e086f44c050888a734509631f34b3a2a2ba1dfb99002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480f9e1f6624cb479487e086f44c050888a734509631f34b3a2a2ba1dfb99002", kill_on_drop: false }` [INFO] [stdout] 480f9e1f6624cb479487e086f44c050888a734509631f34b3a2a2ba1dfb99002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88351d48fda3fa20d6df4ce269e0163b9ee195c4f717147511da2952f91ca617 [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" "88351d48fda3fa20d6df4ce269e0163b9ee195c4f717147511da2952f91ca617", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking concurrentes v0.1.0 (/opt/rustwide/workdir/conculib) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> conculib/src/signal.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | handlers: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SignalHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> conculib/src/signal.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn register(signum: i32, handler: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SignalHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ncurses v5.94.0 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> conculib/src/signal.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | let mut sa : sigaction = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> conculib/src/signal.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | handlers: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SignalHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> conculib/src/signal.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn register(signum: i32, handler: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SignalHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> conculib/src/signal.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | let mut sa : sigaction = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> conculib/examples/02-shared_memory.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut array_cell = shared_ints.get_array_mut(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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: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; 1 warning emitted [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "88351d48fda3fa20d6df4ce269e0163b9ee195c4f717147511da2952f91ca617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88351d48fda3fa20d6df4ce269e0163b9ee195c4f717147511da2952f91ca617", kill_on_drop: false }` [INFO] [stdout] 88351d48fda3fa20d6df4ce269e0163b9ee195c4f717147511da2952f91ca617