[INFO] cloning repository https://github.com/problame/rc64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/problame/rc64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frc64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frc64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6795c3472756d8932c8736f7a3e67528fd843d2b [INFO] checking problame/rc64 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproblame%2Frc64" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/problame/rc64 [INFO] finished tweaking git repo https://github.com/problame/rc64 [INFO] tweaked toml for git repo https://github.com/problame/rc64 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/problame/rc64 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/problame/rc64 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6f93f9be7497cd9d0a858701fbc691cef2c65824ac2d38d9f9edcc6cfe40207 [INFO] running `Command { std: "docker" "start" "-a" "d6f93f9be7497cd9d0a858701fbc691cef2c65824ac2d38d9f9edcc6cfe40207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6f93f9be7497cd9d0a858701fbc691cef2c65824ac2d38d9f9edcc6cfe40207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f93f9be7497cd9d0a858701fbc691cef2c65824ac2d38d9f9edcc6cfe40207", kill_on_drop: false }` [INFO] [stdout] d6f93f9be7497cd9d0a858701fbc691cef2c65824ac2d38d9f9edcc6cfe40207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf20aa43979ebcf90dc702d4cc2c407c7b301b22c02de61285a519de846401d [INFO] running `Command { std: "docker" "start" "-a" "fcf20aa43979ebcf90dc702d4cc2c407c7b301b22c02de61285a519de846401d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking bitvec v0.17.2 [INFO] [stderr] Checking spin_sleep v0.3.7 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking bit-vec v0.6.1 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rpassword v2.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minifb v0.16.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.25.0 [INFO] [stderr] Checking dialog v0.3.0 [INFO] [stderr] Checking signal-hook v0.1.12 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking wayland-commons v0.25.0 [INFO] [stderr] Checking rustyline v5.0.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Checking wayland-cursor v0.25.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking rc64-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling num_enum_derive v0.4.2 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Checking enum-map v0.6.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Checking num_enum v0.4.2 [INFO] [stderr] Compiling include_dir_impl v0.5.0 [INFO] [stderr] Checking assert_cli v0.6.3 [INFO] [stderr] Checking include_dir v0.5.0 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking rc64 v0.1.0 (/opt/rustwide/workdir/rc64) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> rc64/src/mos6510/instr.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 210 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> rc64/src/mos6510/instr.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 210 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> rc64/src/mos6510.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | if !WARNING_PRINTED.compare_and_swap(false, true, std::sync::atomic::Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> rc64/src/mos6510.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | if !WARNING_PRINTED.compare_and_swap(false, true, std::sync::atomic::Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `serial_bus`, `rs232`, and `userport` are never read [INFO] [stdout] --> rc64/src/cia/backends.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 293 | CIA2 { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 294 | vic: R2C>, [INFO] [stdout] 295 | serial_bus: SerialBusBackend, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | rs232: RS232Backend, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | userport: UserportBackend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rc64/src/cia/registers.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct DataDirectionA(pub R2C>); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rc64/src/cia/registers.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) struct DataDirectionB(pub R2C>); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> rc64/src/cia/registers.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct RTClock(pub R2C, pub Precision); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rc64/src/cia/registers.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct SerialShift(pub R2C); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Acc` is never constructed [INFO] [stdout] --> rc64/src/mos6510/instr.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Addr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 70 | Imp, // Implicit [INFO] [stdout] 71 | Acc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Addr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_priority` is never read [INFO] [stdout] --> rc64/src/vic20/registers.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 375 | pub data_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:89:55 [INFO] [stdout] | [INFO] [stdout] 89 | fn try_from(s: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 90 | | if s.starts_with("builtin://") { [INFO] [stdout] 91 | | if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / if s.starts_with("builtin://") { [INFO] [stdout] 91 | | if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | if s.starts_with("builtin://") { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 91 | | if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] ... | [INFO] [stdout] 97 | | } else if s == "FILEPICKER" { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] 94 | | } else { [INFO] [stdout] 95 | | Ok(AutostartFilePath::Builtin(s.trim_start_matches("builtin://").to_owned())) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | if s == "builtin://LIST" { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] 94 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 95 | | Ok(AutostartFilePath::Builtin(s.trim_start_matches("builtin://").to_owned())) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(AutostartFilePath::Builtin(s.trim_start_matches("builtin://").to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | } else if s == "FILEPICKER" { [INFO] [stdout] | ________________^ [INFO] [stdout] 98 | | Ok(AutostartFilePath::Picker) [INFO] [stdout] 99 | | } else { [INFO] [stdout] 100 | | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | } else if s == "FILEPICKER" { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 98 | | Ok(AutostartFilePath::Picker) [INFO] [stdout] 99 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(AutostartFilePath::Picker) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 100 | | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> rc64/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | AutostartFilePath::try_from(s).map_err(|e| format!("{}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / #[structopt(long, help = "use custom kernal image")] [INFO] [stdout] 136 | | kernal: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rc64` (bin "rc64") due to 17 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `serial_bus`, `rs232`, and `userport` are never read [INFO] [stdout] --> rc64/src/cia/backends.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 293 | CIA2 { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 294 | vic: R2C>, [INFO] [stdout] 295 | serial_bus: SerialBusBackend, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | rs232: RS232Backend, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | userport: UserportBackend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rc64/src/cia/registers.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct DataDirectionA(pub R2C>); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rc64/src/cia/registers.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) struct DataDirectionB(pub R2C>); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> rc64/src/cia/registers.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct RTClock(pub R2C, pub Precision); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rc64/src/cia/registers.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct SerialShift(pub R2C); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Acc` is never constructed [INFO] [stdout] --> rc64/src/mos6510/instr.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Addr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 70 | Imp, // Implicit [INFO] [stdout] 71 | Acc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Addr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockArea` is never constructed [INFO] [stdout] --> rc64/src/mos6510/mem.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | struct MockArea(u8, WriteResult); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `descr` is never read [INFO] [stdout] --> rc64/src/mos6510.rs:1312:13 [INFO] [stdout] | [INFO] [stdout] 1311 | struct Case { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 1312 | descr: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Case` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_priority` is never read [INFO] [stdout] --> rc64/src/vic20/registers.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 375 | pub data_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:89:55 [INFO] [stdout] | [INFO] [stdout] 89 | fn try_from(s: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 90 | | if s.starts_with("builtin://") { [INFO] [stdout] 91 | | if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / if s.starts_with("builtin://") { [INFO] [stdout] 91 | | if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | if s.starts_with("builtin://") { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 91 | | if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] ... | [INFO] [stdout] 97 | | } else if s == "FILEPICKER" { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / if s == "builtin://LIST" { [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] 94 | | } else { [INFO] [stdout] 95 | | Ok(AutostartFilePath::Builtin(s.trim_start_matches("builtin://").to_owned())) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | if s == "builtin://LIST" { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 92 | | println!("built-in autostart paths:\n\n{}\n\n", bundled_prg_autostart_paths().join("\n")); [INFO] [stdout] 93 | | panic!("panic after listing builtin autostart paths") [INFO] [stdout] 94 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 95 | | Ok(AutostartFilePath::Builtin(s.trim_start_matches("builtin://").to_owned())) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(AutostartFilePath::Builtin(s.trim_start_matches("builtin://").to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | } else if s == "FILEPICKER" { [INFO] [stdout] | ________________^ [INFO] [stdout] 98 | | Ok(AutostartFilePath::Picker) [INFO] [stdout] 99 | | } else { [INFO] [stdout] 100 | | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | } else if s == "FILEPICKER" { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 98 | | Ok(AutostartFilePath::Picker) [INFO] [stdout] 99 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(AutostartFilePath::Picker) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 100 | | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> rc64/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(AutostartFilePath::Local(PathBuf::try_from(s)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | AutostartFilePath::try_from(s).map_err(|e| format!("{}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> rc64/src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / #[structopt(long, help = "use custom kernal image")] [INFO] [stdout] 136 | | kernal: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rc64` (bin "rc64" test) due to 17 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fcf20aa43979ebcf90dc702d4cc2c407c7b301b22c02de61285a519de846401d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf20aa43979ebcf90dc702d4cc2c407c7b301b22c02de61285a519de846401d", kill_on_drop: false }` [INFO] [stdout] fcf20aa43979ebcf90dc702d4cc2c407c7b301b22c02de61285a519de846401d