[INFO] fetching crate zub 0.3.14... [INFO] testing zub-0.3.14 against 1.60.0 for beta-1.61-1 [INFO] extracting crate zub 0.3.14 into /workspace/builds/worker-59/source [INFO] validating manifest of crates.io crate zub 0.3.14 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-59/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.52 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded flamer v0.3.0 [INFO] [stderr] Downloaded ahash v0.3.3 [INFO] [stderr] Downloaded im-rc v14.3.0 [INFO] [stderr] Downloaded sized-chunks v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f545bb8ac4badf36d3c046d78f4ee86d4313b47865689b572e39eb55132a0d [INFO] running `Command { std: "docker" "start" "-a" "e3f545bb8ac4badf36d3c046d78f4ee86d4313b47865689b572e39eb55132a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f545bb8ac4badf36d3c046d78f4ee86d4313b47865689b572e39eb55132a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f545bb8ac4badf36d3c046d78f4ee86d4313b47865689b572e39eb55132a0d", kill_on_drop: false }` [INFO] [stdout] e3f545bb8ac4badf36d3c046d78f4ee86d4313b47865689b572e39eb55132a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62c8cf9382fef53817420ddba7b24c5f1ed2f73124984ea883ad0af39309a264 [INFO] running `Command { std: "docker" "start" "-a" "62c8cf9382fef53817420ddba7b24c5f1ed2f73124984ea883ad0af39309a264", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling ahash v0.3.3 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling sized-chunks v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling flame v0.2.2 [INFO] [stderr] Compiling flamer v0.3.0 [INFO] [stderr] Compiling 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] [stderr] error: could not compile `zub` due to 2 previous errors; 26 warnings emitted [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: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/vm/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` 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[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: 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] warning: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(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] warning: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] warning: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] warning: 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] | ^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] warning: 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] | ^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] warning: associated function is never used: `set_dict_element` [INFO] [stdout] --> src/vm/vm.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | fn set_dict_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_dict_element` [INFO] [stdout] --> src/vm/vm.rs:506:8 [INFO] [stdout] | [INFO] [stdout] 506 | fn get_dict_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_list_element` [INFO] [stdout] --> src/vm/vm.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | fn set_list_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_loop` [INFO] [stdout] --> src/vm/vm.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn on_loop(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invoke` [INFO] [stdout] --> src/vm/disassembler.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn invoke(&mut self, arity: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class` [INFO] [stdout] --> src/vm/disassembler.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn class(&mut self, idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_property` [INFO] [stdout] --> src/vm/disassembler.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn get_property(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_property` [INFO] [stdout] --> src/vm/disassembler.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn set_property(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/ir/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | kind: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TypeInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ir/types.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry` [INFO] [stdout] --> src/ir/ir.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | entry: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ir/ir.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `begin_scope` [INFO] [stdout] --> src/compiler/compiler.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn begin_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_drain_as_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_drain_as_slice` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_drain_as_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Nil` should have a snake case name [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "62c8cf9382fef53817420ddba7b24c5f1ed2f73124984ea883ad0af39309a264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62c8cf9382fef53817420ddba7b24c5f1ed2f73124984ea883ad0af39309a264", kill_on_drop: false }` [INFO] [stdout] 62c8cf9382fef53817420ddba7b24c5f1ed2f73124984ea883ad0af39309a264