[INFO] cloning repository https://github.com/hansihe/beam_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hansihe/beam_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Fbeam_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Fbeam_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64f05a3f331e5ca9fc19c2501739c248995b9587 [INFO] building hansihe/beam_code against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Fbeam_code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hansihe/beam_code on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hansihe/beam_code [INFO] finished tweaking git repo https://github.com/hansihe/beam_code [INFO] tweaked toml for git repo https://github.com/hansihe/beam_code written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hansihe/beam_code 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" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89502219f728b0b50f608e732d6415c85dba83f5f6ba76c1742c3996dc747c5d [INFO] running `Command { std: "docker" "start" "-a" "89502219f728b0b50f608e732d6415c85dba83f5f6ba76c1742c3996dc747c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89502219f728b0b50f608e732d6415c85dba83f5f6ba76c1742c3996dc747c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89502219f728b0b50f608e732d6415c85dba83f5f6ba76c1742c3996dc747c5d", kill_on_drop: false }` [INFO] [stdout] 89502219f728b0b50f608e732d6415c85dba83f5f6ba76c1742c3996dc747c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 071e42769713f9be08f12035970f8fbff0a8bbf12ab35a64a93503357c1d6f45 [INFO] running `Command { std: "docker" "start" "-a" "071e42769713f9be08f12035970f8fbff0a8bbf12ab35a64a93503357c1d6f45", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.26 [INFO] [stderr] Compiling num-traits v0.1.39 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling serde v1.0.10 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling libflate v0.1.9 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling itertools v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling beam_file v0.2.2 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling num-bigint v0.1.39 [INFO] [stderr] Compiling num-complex v0.1.38 [INFO] [stderr] Compiling num-rational v0.1.38 [INFO] [stderr] Compiling num v0.1.39 [INFO] [stderr] Compiling eetf v0.3.6 [INFO] [stderr] Compiling string-intern v0.1.6 [INFO] [stderr] Compiling beam_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/op.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/ssa/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use ::op::{ Op, LabelId, Register, OpKind, Source, Literal }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphAccessor` [INFO] [stdout] --> src/graph/dfs.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ GraphAccessor, GraphDfs }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ssa/mod.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/mod.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = dyn Fn(NodeId, usize) -> Option; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_num` [INFO] [stdout] --> src/beam_module.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | for atom_num in 0..len { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | for mut block in fun.blocks.values_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] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for mut op in block.ops.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `x_reg` is never used [INFO] [stdout] --> src/op.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | fn x_reg(num: u32) -> Source { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/ssa/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct FunDef { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 52 | module: Atom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GraphAccessor` is never used [INFO] [stdout] --> src/graph/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/op.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/ssa/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use ::op::{ Op, LabelId, Register, OpKind, Source, Literal }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphAccessor` [INFO] [stdout] --> src/graph/dfs.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ GraphAccessor, GraphDfs }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ssa/mod.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut dyn Write) -> ::std::io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/mod.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = dyn Fn(NodeId, usize) -> Option; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_num` [INFO] [stdout] --> src/beam_module.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | for atom_num in 0..len { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | for mut block in fun.blocks.values_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] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for mut op in block.ops.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CaseEnd` is never constructed [INFO] [stdout] --> src/op.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub enum RaiseType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 156 | CaseEnd, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RaiseType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_reads_labels` is never used [INFO] [stdout] --> src/op.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with_reads_labels(kind: OpKind, reads: Vec, labels: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `x_reg` is never used [INFO] [stdout] --> src/op.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | fn x_reg(num: u32) -> Source { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_register` is never used [INFO] [stdout] --> src/op.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn get_register(&self) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/ssa/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct FunDef { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 52 | module: Atom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_register` is never used [INFO] [stdout] --> src/ssa/representation.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_register(&self) -> SSARegister { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GraphAccessor` is never used [INFO] [stdout] --> src/graph/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "071e42769713f9be08f12035970f8fbff0a8bbf12ab35a64a93503357c1d6f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071e42769713f9be08f12035970f8fbff0a8bbf12ab35a64a93503357c1d6f45", kill_on_drop: false }` [INFO] [stdout] 071e42769713f9be08f12035970f8fbff0a8bbf12ab35a64a93503357c1d6f45