[INFO] cloning repository https://github.com/Einliterflasche/toeffel
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Einliterflasche/toeffel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinliterflasche%2Ftoeffel", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinliterflasche%2Ftoeffel'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9d309200d7155601ae216ff261e42744e359233d
[INFO] checking Einliterflasche/toeffel against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinliterflasche%2Ftoeffel" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Einliterflasche/toeffel
[INFO] finished tweaking git repo https://github.com/Einliterflasche/toeffel
[INFO] tweaked toml for git repo https://github.com/Einliterflasche/toeffel written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Einliterflasche/toeffel on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Einliterflasche/toeffel 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a
[INFO] running `Command { std: "docker" "start" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking toeffel v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/arch/arm64.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | /             Instruction::Movz {
[INFO] [stdout] 43 | |                 destination,
[INFO] [stdout] 44 | |                 immediate,
[INFO] [stdout] 45 | |                 shift,
[INFO] [stdout] 46 | |             } => {
[INFO] [stdout]    | |_____________- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 55 |               _ => unimplemented!(),
[INFO] [stdout]    |               ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/format/macho.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut code = bytes::Writer::new();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/format/macho.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut writer = bytes::Writer::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_code`
[INFO] [stdout]    --> src/format/macho.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn generate(return_code: u64) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_code`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]    --> src/format/macho.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut code = bytes::Writer::new();
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/arch/arm64.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | /             Instruction::Movz {
[INFO] [stdout] 43 | |                 destination,
[INFO] [stdout] 44 | |                 immediate,
[INFO] [stdout] 45 | |                 shift,
[INFO] [stdout] 46 | |             } => {
[INFO] [stdout]    | |_____________- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 55 |               _ => unimplemented!(),
[INFO] [stdout]    |               ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MachO` is never constructed
[INFO] [stdout]  --> src/format/macho.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MachO {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MachHeader64` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct MachHeader64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CpuType` is never used
[INFO] [stdout]   --> src/format/macho.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum CpuType {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CpuSubtype` is never used
[INFO] [stdout]   --> src/format/macho.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | enum CpuSubtype {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FileType` is never used
[INFO] [stdout]   --> src/format/macho.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum FileType {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]   --> src/format/macho.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Command {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SegmentCommand64` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct SegmentCommand64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnixThreadCommand` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct UnixThreadCommand {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arm64ThreadState` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct Arm64ThreadState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section64` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Section64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_arm64` is never used
[INFO] [stdout]    --> src/format/macho.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl MachHeader64 {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 116 |     fn new_arm64(num_commands: u32, commands_size: u32) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/format/macho.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Section64 {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 131 |     fn new(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `CMD_NUMBER` and `new_arm64` are never used
[INFO] [stdout]    --> src/format/macho.rs:165:11
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl UnixThreadCommand {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 165 |     const CMD_NUMBER: u32 = 0x5;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 166 |
[INFO] [stdout] 167 |     fn new_arm64(thread_state: Arm64ThreadState) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `FLAVOR`, `COUNT`, and `new` are never used
[INFO] [stdout]    --> src/format/macho.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl Arm64ThreadState {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 179 |     const FLAVOR: u32 = 6;
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] 180 |     const COUNT: u32 = 68;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 181 |
[INFO] [stdout] 182 |     fn new(pc: u64, pad: impl Into<Option<u32>>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/format/macho.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut code = bytes::Writer::new();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/format/macho.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut writer = bytes::Writer::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_code`
[INFO] [stdout]    --> src/format/macho.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn generate(return_code: u64) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_code`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]    --> src/format/macho.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut code = bytes::Writer::new();
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MachO` is never constructed
[INFO] [stdout]  --> src/format/macho.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MachO {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MachHeader64` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct MachHeader64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CpuType` is never used
[INFO] [stdout]   --> src/format/macho.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum CpuType {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CpuSubtype` is never used
[INFO] [stdout]   --> src/format/macho.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | enum CpuSubtype {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FileType` is never used
[INFO] [stdout]   --> src/format/macho.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum FileType {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]   --> src/format/macho.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Command {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SegmentCommand64` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct SegmentCommand64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnixThreadCommand` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct UnixThreadCommand {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arm64ThreadState` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct Arm64ThreadState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section64` is never constructed
[INFO] [stdout]   --> src/format/macho.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Section64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_arm64` is never used
[INFO] [stdout]    --> src/format/macho.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl MachHeader64 {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 116 |     fn new_arm64(num_commands: u32, commands_size: u32) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/format/macho.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Section64 {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 131 |     fn new(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `CMD_NUMBER` and `new_arm64` are never used
[INFO] [stdout]    --> src/format/macho.rs:165:11
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl UnixThreadCommand {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 165 |     const CMD_NUMBER: u32 = 0x5;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 166 |
[INFO] [stdout] 167 |     fn new_arm64(thread_state: Arm64ThreadState) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `FLAVOR`, `COUNT`, and `new` are never used
[INFO] [stdout]    --> src/format/macho.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl Arm64ThreadState {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 179 |     const FLAVOR: u32 = 6;
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] 180 |     const COUNT: u32 = 68;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 181 |
[INFO] [stdout] 182 |     fn new(pc: u64, pad: impl Into<Option<u32>>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] running `Command { std: "docker" "inspect" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a", kill_on_drop: false }`
[INFO] [stdout] a8b6087b0be0b1a47599be5a2ffe14a34faba565d1979c78e1fef59278ab403a
