[INFO] fetching crate zub 0.3.14... [INFO] checking zub-0.3.14 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] extracting crate zub 0.3.14 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate zub 0.3.14 on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate zub 0.3.14 [INFO] finished tweaking crates.io crate zub 0.3.14 [INFO] tweaked toml for crates.io crate zub 0.3.14 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate zub 0.3.14 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flamer v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1987615fd50ce8a4de2c993e6a2b48f53399c42d786da545aaad6a63a2bf091 [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" "d1987615fd50ce8a4de2c993e6a2b48f53399c42d786da545aaad6a63a2bf091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1987615fd50ce8a4de2c993e6a2b48f53399c42d786da545aaad6a63a2bf091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1987615fd50ce8a4de2c993e6a2b48f53399c42d786da545aaad6a63a2bf091", kill_on_drop: false }` [INFO] [stdout] d1987615fd50ce8a4de2c993e6a2b48f53399c42d786da545aaad6a63a2bf091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32e9122370498ae72717de03b571b4703072af77d6facd048e273fb1fa3d0510 [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" "32e9122370498ae72717de03b571b4703072af77d6facd048e273fb1fa3d0510", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking ahash v0.3.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking sized-chunks v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Compiling flame v0.2.2 [INFO] [stderr] Compiling flamer v0.3.0 [INFO] [stderr] Checking zub v0.3.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate flamer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tag::*` [INFO] [stdout] --> src/vm/value/object.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::gc::{ *, tag::*, trace::* }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::CompileState` [INFO] [stdout] --> src/vm/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::compiler::CompileState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Trace`, `Tracer` [INFO] [stdout] --> src/vm/disassembler.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use gc::trace::{ Trace, Tracer }; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate flamer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tag::*` [INFO] [stdout] --> src/vm/value/object.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::gc::{ *, tag::*, trace::* }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::CompileState` [INFO] [stdout] --> src/vm/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::compiler::CompileState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Trace`, `Tracer` [INFO] [stdout] --> src/vm/disassembler.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use gc::trace::{ Trace, Tracer }; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Nil` is named the same as one of the variants of the type `vm::value::value::Variant` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `vm::value::value::Variant::Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/compiler.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | _ => panic!("not a constant") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Nil` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 403 | let b = self.deref(b).as_string().unwrap(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 404 | [INFO] [stdout] 405 | let new = self.allocate(Object::String(format!("{}{}", a, b))); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 389 | let b = self.deref(b).as_string().unwrap(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 390 | [INFO] [stdout] 391 | let new = self.allocate(Object::String(format!("{}{}", a, b))); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 396 | let a = self.deref(a).as_string().unwrap(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 397 | [INFO] [stdout] 398 | let new = self.allocate(Object::String(format!("{}{}", a, b))); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 517 | let dict = self.deref(dict_handle); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 520 | self.push(*value) [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 607 | let list = self.deref(list_handle); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 629 | self.push(*value) [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Nil` is named the same as one of the variants of the type `vm::value::value::Variant` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `vm::value::value::Variant::Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zub` [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/compiler.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | _ => panic!("not a constant") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `Nil` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 403 | let b = self.deref(b).as_string().unwrap(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 404 | [INFO] [stdout] 405 | let new = self.allocate(Object::String(format!("{}{}", a, b))); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 389 | let b = self.deref(b).as_string().unwrap(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 390 | [INFO] [stdout] 391 | let new = self.allocate(Object::String(format!("{}{}", a, b))); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 396 | let a = self.deref(a).as_string().unwrap(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 397 | [INFO] [stdout] 398 | let new = self.allocate(Object::String(format!("{}{}", a, b))); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 517 | let dict = self.deref(dict_handle); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 520 | self.push(*value) [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm/vm.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 607 | let list = self.deref(list_handle); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 629 | self.push(*value) [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "32e9122370498ae72717de03b571b4703072af77d6facd048e273fb1fa3d0510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e9122370498ae72717de03b571b4703072af77d6facd048e273fb1fa3d0510", kill_on_drop: false }` [INFO] [stdout] 32e9122370498ae72717de03b571b4703072af77d6facd048e273fb1fa3d0510