[INFO] cloning repository https://github.com/r-ushil/godel-register-machines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r-ushil/godel-register-machines" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-ushil%2Fgodel-register-machines", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-ushil%2Fgodel-register-machines'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 209118aac0a8d1f5035e11e4d32e813a72be2acf [INFO] checking r-ushil/godel-register-machines against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-ushil%2Fgodel-register-machines" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r-ushil/godel-register-machines on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r-ushil/godel-register-machines [INFO] finished tweaking git repo https://github.com/r-ushil/godel-register-machines [INFO] tweaked toml for git repo https://github.com/r-ushil/godel-register-machines written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/r-ushil/godel-register-machines 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f7b02b737534edb196fb043b41f16ce55756830865d6d96d1034ac2d82faf52 [INFO] running `Command { std: "docker" "start" "-a" "7f7b02b737534edb196fb043b41f16ce55756830865d6d96d1034ac2d82faf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f7b02b737534edb196fb043b41f16ce55756830865d6d96d1034ac2d82faf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7b02b737534edb196fb043b41f16ce55756830865d6d96d1034ac2d82faf52", kill_on_drop: false }` [INFO] [stdout] 7f7b02b737534edb196fb043b41f16ce55756830865d6d96d1034ac2d82faf52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bafcccbad4ad532cb9413420f42320e511164b9d60ce5cd6e7dfa08f2bcbdac3 [INFO] running `Command { std: "docker" "start" "-a" "bafcccbad4ad532cb9413420f42320e511164b9d60ce5cd6e7dfa08f2bcbdac3", kill_on_drop: false }` [INFO] [stderr] Checking godel-reg-machines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `decode_double_owl`, `decode_list`, `decode_single_owl` [INFO] [stdout] --> src/decode.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::decode::{decode_double_owl, decode_single_owl, decode_list}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_double_owl` is never used [INFO] [stdout] --> src/encode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn calc_double_owl(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_single_owl` is never used [INFO] [stdout] --> src/encode.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn calc_single_owl(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_instr` is never used [INFO] [stdout] --> src/encode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn encode_instr(instr: RegInstr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_halt` is never used [INFO] [stdout] --> src/encode.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn reg_halt() -> u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_subtract` is never used [INFO] [stdout] --> src/encode.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn reg_subtract(sub_instr: RegInstr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_add` is never used [INFO] [stdout] --> src/encode.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn reg_add(add_instr: RegInstr) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_encoding` is never used [INFO] [stdout] --> src/encode.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn list_encoding(nums: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_double_owl` is never used [INFO] [stdout] --> src/decode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decode_double_owl(num: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_single_owl` is never used [INFO] [stdout] --> src/decode.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn decode_single_owl(num: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_list` is never used [INFO] [stdout] --> src/decode.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn decode_list(num: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeInstr` is never used [INFO] [stdout] --> src/decode.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn decodeInstr(num: u32) -> RegInstr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Sub`, and `Halt` are never constructed [INFO] [stdout] --> src/instr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RegInstr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Add(RegNum, Label), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Sub(RegNum, Label, Label), [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeInstr` should have a snake case name [INFO] [stdout] --> src/decode.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn decodeInstr(num: u32) -> RegInstr { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decode_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeInstr` is never used [INFO] [stdout] --> src/decode.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn decodeInstr(num: u32) -> RegInstr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeInstr` should have a snake case name [INFO] [stdout] --> src/decode.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn decodeInstr(num: u32) -> RegInstr { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decode_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "bafcccbad4ad532cb9413420f42320e511164b9d60ce5cd6e7dfa08f2bcbdac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafcccbad4ad532cb9413420f42320e511164b9d60ce5cd6e7dfa08f2bcbdac3", kill_on_drop: false }` [INFO] [stdout] bafcccbad4ad532cb9413420f42320e511164b9d60ce5cd6e7dfa08f2bcbdac3 [INFO] checking r-ushil/godel-register-machines against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-ushil%2Fgodel-register-machines" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r-ushil/godel-register-machines on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r-ushil/godel-register-machines [INFO] finished tweaking git repo https://github.com/r-ushil/godel-register-machines [INFO] tweaked toml for git repo https://github.com/r-ushil/godel-register-machines written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/r-ushil/godel-register-machines 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a5e19848ca917dacaac3d7ce65c124e9e8b74664335a216c9b19160df634875 [INFO] running `Command { std: "docker" "start" "-a" "5a5e19848ca917dacaac3d7ce65c124e9e8b74664335a216c9b19160df634875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a5e19848ca917dacaac3d7ce65c124e9e8b74664335a216c9b19160df634875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5e19848ca917dacaac3d7ce65c124e9e8b74664335a216c9b19160df634875", kill_on_drop: false }` [INFO] [stdout] 5a5e19848ca917dacaac3d7ce65c124e9e8b74664335a216c9b19160df634875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a86015b965bc167411ef8bb52d0479680be389772b39c3cb533030f4b254ca [INFO] running `Command { std: "docker" "start" "-a" "37a86015b965bc167411ef8bb52d0479680be389772b39c3cb533030f4b254ca", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking godel-reg-machines v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/decode.rs (1 fix) [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_double_owl` is never used [INFO] [stdout] --> src/encode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn calc_double_owl(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_single_owl` is never used [INFO] [stdout] --> src/encode.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn calc_single_owl(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_instr` is never used [INFO] [stdout] --> src/encode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn encode_instr(instr: RegInstr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_halt` is never used [INFO] [stdout] --> src/encode.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn reg_halt() -> u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_subtract` is never used [INFO] [stdout] --> src/encode.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn reg_subtract(sub_instr: RegInstr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_add` is never used [INFO] [stdout] --> src/encode.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn reg_add(add_instr: RegInstr) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_encoding` is never used [INFO] [stdout] --> src/encode.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn list_encoding(nums: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_double_owl` is never used [INFO] [stdout] --> src/decode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decode_double_owl(num: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_single_owl` is never used [INFO] [stdout] --> src/decode.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn decode_single_owl(num: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_list` is never used [INFO] [stdout] --> src/decode.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn decode_list(num: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeInstr` is never used [INFO] [stdout] --> src/decode.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn decodeInstr(num: u32) -> RegInstr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Sub`, and `Halt` are never constructed [INFO] [stdout] --> src/instr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RegInstr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Add(RegNum, Label), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Sub(RegNum, Label, Label), [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodeInstr` should have a snake case name [INFO] [stdout] --> src/decode.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn decodeInstr(num: u32) -> RegInstr { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `decode_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_double_owl` in this scope [INFO] [stdout] --> src/decode.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(decode_double_owl(34), (1, 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_double_owl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_double_owl` in this scope [INFO] [stdout] --> src/decode.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(decode_double_owl(8), (3, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_double_owl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_double_owl` in this scope [INFO] [stdout] --> src/decode.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(decode_double_owl(276), (2, 34)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_double_owl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_single_owl` in this scope [INFO] [stdout] --> src/decode.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(decode_single_owl(9), (1, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_single_owl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_single_owl` in this scope [INFO] [stdout] --> src/decode.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(decode_single_owl(71), (3, 4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_single_owl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_list` in this scope [INFO] [stdout] --> src/decode.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(decode_list(8), vec![3]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_list` in this scope [INFO] [stdout] --> src/decode.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(decode_list(34), vec![1, 3]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_list` in this scope [INFO] [stdout] --> src/decode.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(decode_list(276), vec![2, 1, 3]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 158 + use crate::decode::decode_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/decode.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut y: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `godel-reg-machines` (bin "godel-reg-machines" test) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "37a86015b965bc167411ef8bb52d0479680be389772b39c3cb533030f4b254ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a86015b965bc167411ef8bb52d0479680be389772b39c3cb533030f4b254ca", kill_on_drop: false }` [INFO] [stdout] 37a86015b965bc167411ef8bb52d0479680be389772b39c3cb533030f4b254ca