[INFO] cloning repository https://github.com/CryZe/sarc-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CryZe/sarc-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryZe%2Fsarc-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryZe%2Fsarc-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56e94961d8ada63d3d0d8a6e419a0126398953c0 [INFO] checking CryZe/sarc-tool/56e94961d8ada63d3d0d8a6e419a0126398953c0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryZe%2Fsarc-tool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CryZe/sarc-tool on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CryZe/sarc-tool [INFO] finished tweaking git repo https://github.com/CryZe/sarc-tool [INFO] tweaked toml for git repo https://github.com/CryZe/sarc-tool written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CryZe/sarc-tool 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/nintendo-sarc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/js/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v0.2.19 [INFO] [stderr] Downloaded quick-error v1.2.0 [INFO] [stderr] Downloaded bzip2 v0.3.2 [INFO] [stderr] Downloaded textwrap v0.6.0 [INFO] [stderr] Downloaded miniz-sys v0.1.9 [INFO] [stderr] Downloaded msdos_time v0.1.5 [INFO] [stderr] Downloaded either v1.1.0 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded itertools v0.6.0 [INFO] [stderr] Downloaded zip v0.2.3 [INFO] [stderr] Downloaded bzip2-sys v0.1.5 [INFO] [stderr] Downloaded clap v2.25.0 [INFO] [stderr] Downloaded podio v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bb67a4a597ae6a15c6f220634429d9b7f5ee1ef37f387c8d1e8ab74b1c4632a [INFO] running `Command { std: "docker" "start" "-a" "1bb67a4a597ae6a15c6f220634429d9b7f5ee1ef37f387c8d1e8ab74b1c4632a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bb67a4a597ae6a15c6f220634429d9b7f5ee1ef37f387c8d1e8ab74b1c4632a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb67a4a597ae6a15c6f220634429d9b7f5ee1ef37f387c8d1e8ab74b1c4632a", kill_on_drop: false }` [INFO] [stdout] 1bb67a4a597ae6a15c6f220634429d9b7f5ee1ef37f387c8d1e8ab74b1c4632a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58023e2a7b4c2e114dfeffdcf3b259357c1354a74b6e843ce229084ec5cd49cf [INFO] running `Command { std: "docker" "start" "-a" "58023e2a7b4c2e114dfeffdcf3b259357c1354a74b6e843ce229084ec5cd49cf", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/nintendo-sarc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/js/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.24 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking podio v0.1.5 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking quick-error v1.2.0 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking itertools v0.6.0 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Compiling bzip2-sys v0.1.5 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Checking textwrap v0.6.0 [INFO] [stderr] Checking clap v2.25.0 [INFO] [stderr] Checking msdos_time v0.1.5 [INFO] [stderr] Checking flate2 v0.2.19 [INFO] [stderr] Checking bzip2 v0.3.2 [INFO] [stderr] Checking zip v0.2.3 [INFO] [stderr] Checking nintendo-sarc v0.1.0 (/opt/rustwide/workdir/nintendo-sarc) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/encode.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | pub enum Error { [INFO] [stdout] 12 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/encode.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | pub enum Error { [INFO] [stdout] 12 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let mut magic: [u8; 4] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | let mut byte: [u8; 1] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let mut magic: [u8; 4] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | let mut byte: [u8; 1] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | let mut bom: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> nintendo-sarc/src/parse.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | let mut bom: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / quick_error! { [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | pub enum ParseNodeError { [INFO] [stdout] 34 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / quick_error! { [INFO] [stdout] 13 | | #[derive(Debug)] [INFO] [stdout] 14 | | pub enum Error { [INFO] [stdout] 15 | | IncorrectMagic(got: [u8; 4], expected: [u8; 4]) {} [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / quick_error! { [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | pub enum ParseNodeError { [INFO] [stdout] 34 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/encode.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/encode.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> nintendo-sarc/src/parse.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> nintendo-sarc/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 34 | hash: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> nintendo-sarc/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 34 | hash: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | let mut magic: [u8; 4] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | let mut byte: [u8; 1] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 150 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:208:47 [INFO] [stdout] | [INFO] [stdout] 208 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 4]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | let mut magic: [u8; 4] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | let mut bom: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | let mut byte: [u8; 1] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 150 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:208:47 [INFO] [stdout] | [INFO] [stdout] 208 | let mut header_length: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 2]` does not permit being left uninitialized [INFO] [stdout] --> nintendo-sarc/src/parse.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | let mut bom: [u8; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sarc-tool v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking js v0.1.0 (/opt/rustwide/workdir/js) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> js/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> js/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `link_args` in this scope [INFO] [stdout] --> js/src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_args = "-O3 -s TOTAL_MEMORY=33554432 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_METHOD='native-wasm'"] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `link_args` in this scope [INFO] [stdout] --> js/src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_args = "-O3 -s TOTAL_MEMORY=33554432 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_METHOD='native-wasm'"] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `js` (bin "js" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `js` (bin "js") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "58023e2a7b4c2e114dfeffdcf3b259357c1354a74b6e843ce229084ec5cd49cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58023e2a7b4c2e114dfeffdcf3b259357c1354a74b6e843ce229084ec5cd49cf", kill_on_drop: false }` [INFO] [stdout] 58023e2a7b4c2e114dfeffdcf3b259357c1354a74b6e843ce229084ec5cd49cf