[INFO] cloning repository https://github.com/d-sonuga/mindbend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d-sonuga/mindbend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5082c9dbf69d69e6f09ace5d6a157d6e60bd611 [INFO] checking d-sonuga/mindbend against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d-sonuga/mindbend 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/d-sonuga/mindbend [INFO] finished tweaking git repo https://github.com/d-sonuga/mindbend [INFO] tweaked toml for git repo https://github.com/d-sonuga/mindbend written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/d-sonuga/mindbend 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 llvm-sys v120.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 132f4a1d47a3714dcc99befe8f2fce6089e0e313cc3c663e7eb6ec65a04915fe [INFO] running `Command { std: "docker" "start" "-a" "132f4a1d47a3714dcc99befe8f2fce6089e0e313cc3c663e7eb6ec65a04915fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "132f4a1d47a3714dcc99befe8f2fce6089e0e313cc3c663e7eb6ec65a04915fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132f4a1d47a3714dcc99befe8f2fce6089e0e313cc3c663e7eb6ec65a04915fe", kill_on_drop: false }` [INFO] [stdout] 132f4a1d47a3714dcc99befe8f2fce6089e0e313cc3c663e7eb6ec65a04915fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a2acedd8f13d2733f0167d7949a0f8e658aecedbeb3bdb24cd8318d69ef8cd1 [INFO] running `Command { std: "docker" "start" "-a" "2a2acedd8f13d2733f0167d7949a0f8e658aecedbeb3bdb24cd8318d69ef8cd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#c71d7edb) [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Compiling llvm-sys v120.2.3 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell?branch=master#c71d7edb) [INFO] [stderr] Checking mindbend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/parser.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::{Peekable, Enumerate, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `r_ident` is imported redundantly [INFO] [stdout] --> src/lexer.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 37 | / macro_rules! r_ident { [INFO] [stdout] 38 | | ($x:expr) => { [INFO] [stdout] 39 | | Token::RegionIdent(String::from($x)) [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- the item `r_ident` is already defined here [INFO] [stdout] ... [INFO] [stdout] 366 | use crate::{r_ident, p_ident, c_ident}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `p_ident` is imported redundantly [INFO] [stdout] --> src/lexer.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 23 | / macro_rules! p_ident { [INFO] [stdout] 24 | | ($x:expr) => { [INFO] [stdout] 25 | | PrimitiveIdent(String::from($x)) [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- the item `p_ident` is already defined here [INFO] [stdout] ... [INFO] [stdout] 366 | use crate::{r_ident, p_ident, c_ident}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `c_ident` is imported redundantly [INFO] [stdout] --> src/lexer.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 30 | / macro_rules! c_ident { [INFO] [stdout] 31 | | ($x:expr) => { [INFO] [stdout] 32 | | Token::CellIdent(String::from($x)) [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- the item `c_ident` is already defined here [INFO] [stdout] ... [INFO] [stdout] 366 | use crate::{r_ident, p_ident, c_ident}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/parser.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::{Peekable, Enumerate, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut_any` is never used [INFO] [stdout] --> src/parser.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub trait Expression: fmt::Debug + Any { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 457 | fn as_mut_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActiveExpression` is never used [INFO] [stdout] --> src/parser.rs:462:7 [INFO] [stdout] | [INFO] [stdout] 462 | trait ActiveExpression: Expression {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/codegen.rs:811:63 [INFO] [stdout] | [INFO] [stdout] 797 | let leach_expr_ptr = leach_expr as *const LeachExpression as *mut LeachExpression; [INFO] [stdout] | ------------------------------------------------------------ casting happend here [INFO] [stdout] ... [INFO] [stdout] 811 | let mut old_leach_expr = mem::replace(&mut *leach_expr_ptr, *right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mindbend` (bin "mindbend") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `as_mut_any` is never used [INFO] [stdout] --> src/parser.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub trait Expression: fmt::Debug + Any { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 457 | fn as_mut_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActiveExpression` is never used [INFO] [stdout] --> src/parser.rs:462:7 [INFO] [stdout] | [INFO] [stdout] 462 | trait ActiveExpression: Expression {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/codegen.rs:811:63 [INFO] [stdout] | [INFO] [stdout] 797 | let leach_expr_ptr = leach_expr as *const LeachExpression as *mut LeachExpression; [INFO] [stdout] | ------------------------------------------------------------ casting happend here [INFO] [stdout] ... [INFO] [stdout] 811 | let mut old_leach_expr = mem::replace(&mut *leach_expr_ptr, *right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mindbend` (bin "mindbend" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a2acedd8f13d2733f0167d7949a0f8e658aecedbeb3bdb24cd8318d69ef8cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2acedd8f13d2733f0167d7949a0f8e658aecedbeb3bdb24cd8318d69ef8cd1", kill_on_drop: false }` [INFO] [stdout] 2a2acedd8f13d2733f0167d7949a0f8e658aecedbeb3bdb24cd8318d69ef8cd1 [INFO] checking d-sonuga/mindbend against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-sonuga%2Fmindbend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d-sonuga/mindbend 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/d-sonuga/mindbend [INFO] finished tweaking git repo https://github.com/d-sonuga/mindbend [INFO] tweaked toml for git repo https://github.com/d-sonuga/mindbend written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/d-sonuga/mindbend 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 780624ea7cd9ff7956c32781fc4cb0b5cbc95e1cf01a09dee89a9b12f72ce097 [INFO] running `Command { std: "docker" "start" "-a" "780624ea7cd9ff7956c32781fc4cb0b5cbc95e1cf01a09dee89a9b12f72ce097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "780624ea7cd9ff7956c32781fc4cb0b5cbc95e1cf01a09dee89a9b12f72ce097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780624ea7cd9ff7956c32781fc4cb0b5cbc95e1cf01a09dee89a9b12f72ce097", kill_on_drop: false }` [INFO] [stdout] 780624ea7cd9ff7956c32781fc4cb0b5cbc95e1cf01a09dee89a9b12f72ce097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cbc2f4cbe7d6dc81796f5ca08a2bedeabe68f0545e6f950a44d5fde1817f268 [INFO] running `Command { std: "docker" "start" "-a" "6cbc2f4cbe7d6dc81796f5ca08a2bedeabe68f0545e6f950a44d5fde1817f268", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "6cbc2f4cbe7d6dc81796f5ca08a2bedeabe68f0545e6f950a44d5fde1817f268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbc2f4cbe7d6dc81796f5ca08a2bedeabe68f0545e6f950a44d5fde1817f268", kill_on_drop: false }` [INFO] [stdout] 6cbc2f4cbe7d6dc81796f5ca08a2bedeabe68f0545e6f950a44d5fde1817f268