[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tedbauer/bril-analyzer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cf77f9c8004a257122b1903840671057b79a2fb387df6d3f3d56b14b2a8727f [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" "5cf77f9c8004a257122b1903840671057b79a2fb387df6d3f3d56b14b2a8727f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf77f9c8004a257122b1903840671057b79a2fb387df6d3f3d56b14b2a8727f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf77f9c8004a257122b1903840671057b79a2fb387df6d3f3d56b14b2a8727f", kill_on_drop: false }` [INFO] [stdout] 5cf77f9c8004a257122b1903840671057b79a2fb387df6d3f3d56b14b2a8727f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df21859388bd2d362f8ad689bd59a955bd498ead7535a4a2768786dc53387f7f [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" "df21859388bd2d362f8ad689bd59a955bd498ead7535a4a2768786dc53387f7f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking bril-analyzer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/prog.rs (1 fix) [INFO] [stderr] Fixed src/count_divs.rs (2 fixes) [INFO] [stderr] Fixed src/cfg.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [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: 12 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.16s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking bril-analyzer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/prog.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "df21859388bd2d362f8ad689bd59a955bd498ead7535a4a2768786dc53387f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df21859388bd2d362f8ad689bd59a955bd498ead7535a4a2768786dc53387f7f", kill_on_drop: false }` [INFO] [stdout] df21859388bd2d362f8ad689bd59a955bd498ead7535a4a2768786dc53387f7f