[INFO] cloning repository https://github.com/tedbauer/bril-analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tedbauer/bril-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd35e01b262d2b5c2b15f34eb433874cb0f5942a [INFO] checking tedbauer/bril-analyzer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tedbauer/bril-analyzer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tedbauer/bril-analyzer [INFO] finished tweaking git repo https://github.com/tedbauer/bril-analyzer [INFO] tweaked toml for git repo https://github.com/tedbauer/bril-analyzer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/tedbauer/bril-analyzer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12d510c041557a45c539e1da29d9665533ed95ac64d33dd2eb183f8761720b7d [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" "12d510c041557a45c539e1da29d9665533ed95ac64d33dd2eb183f8761720b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12d510c041557a45c539e1da29d9665533ed95ac64d33dd2eb183f8761720b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d510c041557a45c539e1da29d9665533ed95ac64d33dd2eb183f8761720b7d", kill_on_drop: false }` [INFO] [stdout] 12d510c041557a45c539e1da29d9665533ed95ac64d33dd2eb183f8761720b7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 415b5929db49dd945a10f8711490cfa811de7107419cb3abad9bda5e1b1d2810 [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" "415b5929db49dd945a10f8711490cfa811de7107419cb3abad9bda5e1b1d2810", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking bril-analyzer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/prog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/cfg.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prog` [INFO] [stdout] --> src/cfg.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/count_divs.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prog` [INFO] [stdout] --> src/count_divs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/prog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/cfg.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prog` [INFO] [stdout] --> src/cfg.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/count_divs.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prog` [INFO] [stdout] --> src/count_divs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_to_block` [INFO] [stdout] --> src/cfg.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let name_to_block = gen_name_map(&blocks); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_to_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_to_block` [INFO] [stdout] --> src/cfg.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let name_to_block = gen_name_map(&blocks); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_to_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CFG` [INFO] [stdout] --> src/cfg.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CFG { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Block` [INFO] [stdout] --> src/cfg.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Block<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cfg.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_instr` [INFO] [stdout] --> src/cfg.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_instr(&mut self, i: &'a Instruction) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_instr` [INFO] [stdout] --> src/cfg.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_instr(&self, idx: usize) -> &Instruction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_fresh_name` [INFO] [stdout] --> src/cfg.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn gen_fresh_name(prefix: &String, name_map: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_name_map` [INFO] [stdout] --> src/cfg.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn gen_name_map<'a>(blocks: &'a Vec) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_blocks` [INFO] [stdout] --> src/cfg.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn gen_blocks(instrs: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_cfg` [INFO] [stdout] --> src/cfg.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn gen_cfg(p: Program) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CFG` [INFO] [stdout] --> src/cfg.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CFG { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Block` [INFO] [stdout] --> src/cfg.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Block<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cfg.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_instr` [INFO] [stdout] --> src/cfg.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_instr(&mut self, i: &'a Instruction) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_instr` [INFO] [stdout] --> src/cfg.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_instr(&self, idx: usize) -> &Instruction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_fresh_name` [INFO] [stdout] --> src/cfg.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn gen_fresh_name(prefix: &String, name_map: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_name_map` [INFO] [stdout] --> src/cfg.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn gen_name_map<'a>(blocks: &'a Vec) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_blocks` [INFO] [stdout] --> src/cfg.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn gen_blocks(instrs: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_cfg` [INFO] [stdout] --> src/cfg.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn gen_cfg(p: Program) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.04s [INFO] running `Command { std: "docker" "inspect" "415b5929db49dd945a10f8711490cfa811de7107419cb3abad9bda5e1b1d2810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "415b5929db49dd945a10f8711490cfa811de7107419cb3abad9bda5e1b1d2810", kill_on_drop: false }` [INFO] [stdout] 415b5929db49dd945a10f8711490cfa811de7107419cb3abad9bda5e1b1d2810