[INFO] cloning repository https://github.com/synlestidae/wolfenutil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synlestidae/wolfenutil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Fwolfenutil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Fwolfenutil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7fda5a317d7188f702f647024b24e7e5246b04c [INFO] checking synlestidae/wolfenutil against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Fwolfenutil" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/synlestidae/wolfenutil 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/synlestidae/wolfenutil [INFO] finished tweaking git repo https://github.com/synlestidae/wolfenutil [INFO] tweaked toml for git repo https://github.com/synlestidae/wolfenutil written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/synlestidae/wolfenutil 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] [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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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] b3c919602758f0457c02192278eb4021b8c30c987b34af0c51f6651a895d7491 [INFO] running `Command { std: "docker" "start" "-a" "b3c919602758f0457c02192278eb4021b8c30c987b34af0c51f6651a895d7491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3c919602758f0457c02192278eb4021b8c30c987b34af0c51f6651a895d7491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c919602758f0457c02192278eb4021b8c30c987b34af0c51f6651a895d7491", kill_on_drop: false }` [INFO] [stdout] b3c919602758f0457c02192278eb4021b8c30c987b34af0c51f6651a895d7491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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] e3fb90513a9938d549c4a13b08f4094fd1a98b30d4526dffb2503f21ea38088e [INFO] running `Command { std: "docker" "start" "-a" "e3fb90513a9938d549c4a13b08f4094fd1a98b30d4526dffb2503f21ea38088e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking wolfenutil v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/map_head.rs (3 fixes) [INFO] [stderr] Fixed src/rlew_reader.rs (8 fixes) [INFO] [stderr] Fixed src/map_type.rs (1 fix) [INFO] [stderr] Fixed src/map_builder.rs (7 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/test.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut f = File::open("MAPHEAD.WL6").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MapHead` [INFO] [stdout] --> src/test.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let head = MapHead::parse(&mut f).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_head::MapHead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/test.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let mut c = Cursor::new(data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut f = RlewReader::new(&mut c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(f.read_u16::().unwrap(), 0x2); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(f.read_u16::().unwrap(), 0x2); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(f.read_u16::().unwrap(), 0x2); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(f.read_u16::().unwrap(), 0x3); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/test.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut c = Cursor::new(data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut f = RlewReader::new(&mut c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(f.read_u16::().unwrap(), 0x2); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(f.read_u16::().unwrap(), 0x2); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(f.read_u16::().unwrap(), 0x3); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(f.read_u16::().unwrap(), 0x3); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/test.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let mut c = Cursor::new(data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut f = RlewReader::new(&mut c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let v = f.read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut c = Cursor::new(data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut f = RlewReader::new(&mut c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(f.read_u16::().unwrap(), 0x0001); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(f.read_u16::().unwrap(), 0x0002); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/test.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut c = Cursor::new(data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut f = RlewReader::new(&mut c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(f.read_u32::().unwrap(), 0x00020001); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/test.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut c = Cursor::new(data); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut f = RlewReader::new(&mut c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(f.read_u32::().unwrap(), 0x00100010); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/test.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(f.read_u32::().unwrap(), 0x00100010); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::LittleEndian; [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::LittleEndian; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/test.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | let mut f = File::open("MAPHEAD.WL6").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlewReader` [INFO] [stdout] --> src/test.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let mut reader = RlewReader::new(&mut f); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rlew_reader::RlewReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MapHead` [INFO] [stdout] --> src/test.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let header = MapHead::parse(&mut reader).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_head::MapHead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MapHead` [INFO] [stdout] --> src/test.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | let head = MapHead::parse(&mut File::open("MAPHEAD.WL6").unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_head::MapHead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/test.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | let head = MapHead::parse(&mut File::open("MAPHEAD.WL6").unwrap()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/test.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | File::open("GAMEMAPS.WL6").unwrap().read_to_end(&mut data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MapBuilder` [INFO] [stdout] --> src/test.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | let data = MapBuilder::new(head, data); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::map_builder::MapBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/test.rs (6 fixes) [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wolfenutil` due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/map_head.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut index: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/map_head.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | index = 2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MapHead` [INFO] [stdout] --> src/map_head.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MapHead { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/map_head.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(s: &mut dyn Read) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_map` [INFO] [stdout] --> src/map_type.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_map(&self, data: &[u8]) -> Option<(Vec, Vec)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/map_type.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_c_string` [INFO] [stdout] --> src/map_type.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn read_c_string(buf: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `read` [INFO] [stdout] --> src/rlew_reader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | read: &'a mut dyn Read, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `compressed_buf` [INFO] [stdout] --> src/rlew_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | compressed_buf: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rlew_reader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(r: &'a mut dyn Read) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decompress` [INFO] [stdout] --> src/rlew_reader.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn decompress(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_offset` [INFO] [stdout] --> src/rlew_reader.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn read_offset(&mut self, idx: usize, _offset: usize, length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_word` [INFO] [stdout] --> src/rlew_reader.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn read_word(segment: &[u8], i: &mut usize) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_word_bytes` [INFO] [stdout] --> src/rlew_reader.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn read_word_bytes(segment: &[u8], i: &mut usize) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MapBuilder` [INFO] [stdout] --> src/map_builder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MapBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/map_builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(map_head: MapHead, data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/map_builder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(&self, map_idx: u16) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Plane` [INFO] [stdout] --> src/plane.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Plane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Map` [INFO] [stdout] --> src/map.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/map_head.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | r.read_to_end(&mut tile_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rlew_reader.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | r.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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" "e3fb90513a9938d549c4a13b08f4094fd1a98b30d4526dffb2503f21ea38088e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fb90513a9938d549c4a13b08f4094fd1a98b30d4526dffb2503f21ea38088e", kill_on_drop: false }` [INFO] [stdout] e3fb90513a9938d549c4a13b08f4094fd1a98b30d4526dffb2503f21ea38088e