[INFO] cloning repository https://github.com/Isaac-Duarte/adv2-splitter-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Isaac-Duarte/adv2-splitter-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Duarte%2Fadv2-splitter-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Duarte%2Fadv2-splitter-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9852722c5707681450201a293c791770e26f1b8c [INFO] checking Isaac-Duarte/adv2-splitter-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Duarte%2Fadv2-splitter-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Isaac-Duarte/adv2-splitter-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Isaac-Duarte/adv2-splitter-rs [INFO] finished tweaking git repo https://github.com/Isaac-Duarte/adv2-splitter-rs [INFO] tweaked toml for git repo https://github.com/Isaac-Duarte/adv2-splitter-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Isaac-Duarte/adv2-splitter-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gmod-lzma v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fecb9db4bb8cd00c803213a0695c093431150566d79c1c252fcebf5a6085f34 [INFO] running `Command { std: "docker" "start" "-a" "4fecb9db4bb8cd00c803213a0695c093431150566d79c1c252fcebf5a6085f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fecb9db4bb8cd00c803213a0695c093431150566d79c1c252fcebf5a6085f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fecb9db4bb8cd00c803213a0695c093431150566d79c1c252fcebf5a6085f34", kill_on_drop: false }` [INFO] [stdout] 4fecb9db4bb8cd00c803213a0695c093431150566d79c1c252fcebf5a6085f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8e7a0dab65350358d734f7da9ade923306dd1d851f4939c0dfc7c922b12ebba [INFO] running `Command { std: "docker" "start" "-a" "c8e7a0dab65350358d734f7da9ade923306dd1d851f4939c0dfc7c922b12ebba", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling gmod-lzma v1.0.1 [INFO] [stderr] Checking adv2-splitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::panic` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/codec.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/codec.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `ErrorKind`, `Write` [INFO] [stdout] --> src/codec.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | use std::io::{Cursor, ErrorKind, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> src/codec.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | use std::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_lua_value`, `lua_string` [INFO] [stdout] --> src/codec.rs:733:17 [INFO] [stdout] | [INFO] [stdout] 733 | use crate::{get_lua_value, lua_string}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdCodec5`, `AdCodec`, `HEADER`, `LuaValue` [INFO] [stdout] --> src/codec.rs:734:24 [INFO] [stdout] | [INFO] [stdout] 734 | use crate::codec::{AdCodec, AdCodec5, HEADER, LuaValue}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/codec.rs:730:27 [INFO] [stdout] | [INFO] [stdout] 730 | use std::io::{Cursor, ErrorKind, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> src/codec.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | use std::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info_mut` and `value_mut` are never used [INFO] [stdout] --> src/codec.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DuplicationResult { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn info_mut(&mut self) -> &mut DuplicationInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value_mut(&mut self) -> &mut LuaValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl LuaValue { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn is_double(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn as_double(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn as_double_mut(&mut self) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn is_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn as_table_mut(&mut self) -> Option<&mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn as_vector(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn as_vector_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_angle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn as_angle(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn as_angle_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info_mut` and `value_mut` are never used [INFO] [stdout] --> src/codec.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DuplicationResult { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn info_mut(&mut self) -> &mut DuplicationInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value_mut(&mut self) -> &mut LuaValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl LuaValue { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn is_double(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn as_double(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn as_double_mut(&mut self) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn is_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn as_table_mut(&mut self) -> Option<&mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn as_vector(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn as_vector_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_angle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn as_angle(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn as_angle_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "c8e7a0dab65350358d734f7da9ade923306dd1d851f4939c0dfc7c922b12ebba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e7a0dab65350358d734f7da9ade923306dd1d851f4939c0dfc7c922b12ebba", kill_on_drop: false }` [INFO] [stdout] c8e7a0dab65350358d734f7da9ade923306dd1d851f4939c0dfc7c922b12ebba [INFO] checking Isaac-Duarte/adv2-splitter-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Duarte%2Fadv2-splitter-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Isaac-Duarte/adv2-splitter-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Isaac-Duarte/adv2-splitter-rs [INFO] finished tweaking git repo https://github.com/Isaac-Duarte/adv2-splitter-rs [INFO] tweaked toml for git repo https://github.com/Isaac-Duarte/adv2-splitter-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Isaac-Duarte/adv2-splitter-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52a23da70485f8bcf42276bba516c48c646849736b0dfd520bcb68c507793434 [INFO] running `Command { std: "docker" "start" "-a" "52a23da70485f8bcf42276bba516c48c646849736b0dfd520bcb68c507793434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52a23da70485f8bcf42276bba516c48c646849736b0dfd520bcb68c507793434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a23da70485f8bcf42276bba516c48c646849736b0dfd520bcb68c507793434", kill_on_drop: false }` [INFO] [stdout] 52a23da70485f8bcf42276bba516c48c646849736b0dfd520bcb68c507793434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfaf10a804f5cbd6e2dbecf7cb7df22a9db8d400f09e535f284bb142d1654889 [INFO] running `Command { std: "docker" "start" "-a" "cfaf10a804f5cbd6e2dbecf7cb7df22a9db8d400f09e535f284bb142d1654889", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling gmod-lzma v1.0.1 [INFO] [stderr] Checking adv2-splitter v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/codec.rs (2 fixes) [INFO] [stdout] warning: methods `info_mut` and `value_mut` are never used [INFO] [stdout] --> src/codec.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DuplicationResult { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn info_mut(&mut self) -> &mut DuplicationInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value_mut(&mut self) -> &mut LuaValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl LuaValue { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn is_double(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn as_double(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn as_double_mut(&mut self) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn is_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn as_table_mut(&mut self) -> Option<&mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn as_vector(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn as_vector_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_angle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn as_angle(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn as_angle_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/codec.rs (5 fixes) [INFO] [stdout] warning: methods `info_mut` and `value_mut` are never used [INFO] [stdout] --> src/codec.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DuplicationResult { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn info_mut(&mut self) -> &mut DuplicationInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value_mut(&mut self) -> &mut LuaValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl LuaValue { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn is_double(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn as_double(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn as_double_mut(&mut self) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn is_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn as_table_mut(&mut self) -> Option<&mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn as_vector(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn as_vector_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_angle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn as_angle(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn as_angle_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking adv2-splitter v0.1.0 (/tmp/fixit) [INFO] [stdout] error: cannot find macro `get_lua_value` in this scope [INFO] [stdout] --> src/codec.rs:861:21 [INFO] [stdout] | [INFO] [stdout] 861 | let value = get_lua_value!(Double, value.clone()).expect("Unable to find the double"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::get_lua_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_lua_value` in this scope [INFO] [stdout] --> src/codec.rs:855:22 [INFO] [stdout] | [INFO] [stdout] 855 | let result = get_lua_value!(Table, result).expect("Unable to find table"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::get_lua_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lua_string` in this scope [INFO] [stdout] --> src/codec.rs:841:22 [INFO] [stdout] | [INFO] [stdout] 841 | table.insert(lua_string!("Key"), LuaValue::Double(20.25)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::lua_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_lua_value` in this scope [INFO] [stdout] --> src/codec.rs:799:21 [INFO] [stdout] | [INFO] [stdout] 799 | let value = get_lua_value!(Double, value.clone()).expect("Unable to find double"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::get_lua_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_lua_value` in this scope [INFO] [stdout] --> src/codec.rs:793:22 [INFO] [stdout] | [INFO] [stdout] 793 | let result = get_lua_value!(Table, result).expect("Unable to find table"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::get_lua_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/codec.rs:737:54 [INFO] [stdout] | [INFO] [stdout] 737 | fn test_signature_header() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | let codec = AdCodec5::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER` in this scope [INFO] [stdout] --> src/codec.rs:739:43 [INFO] [stdout] | [INFO] [stdout] 739 | assert!(codec.is_valid_signature(&HEADER)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::HEADER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/codec.rs:745:55 [INFO] [stdout] | [INFO] [stdout] 745 | fn test_read_write_double() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:747:28 [INFO] [stdout] | [INFO] [stdout] 747 | let double_bytes = AdCodec5::double_as_bytes(&double); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/codec.rs:748:26 [INFO] [stdout] | [INFO] [stdout] 748 | let mut cursor = Cursor::new(double_bytes); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:749:27 [INFO] [stdout] | [INFO] [stdout] 749 | let read_double = AdCodec5::read_double(&mut cursor); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/codec.rs:757:58 [INFO] [stdout] | [INFO] [stdout] 757 | fn test_get_duplication_info() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:761:22 [INFO] [stdout] | [INFO] [stdout] 761 | let result = AdCodec5::get_duplication_info(duplication_info); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/codec.rs:768:53 [INFO] [stdout] | [INFO] [stdout] 768 | fn test_lua_deserialize() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/codec.rs:769:25 [INFO] [stdout] | [INFO] [stdout] 769 | let mut stream: Cursor> = Cursor::new(Vec::new()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/codec.rs:769:43 [INFO] [stdout] | [INFO] [stdout] 769 | let mut stream: Cursor> = Cursor::new(Vec::new()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:780:23 [INFO] [stdout] | [INFO] [stdout] 780 | stream.write(&AdCodec5::double_as_bytes(&20.25))?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/codec.rs:787:26 [INFO] [stdout] | [INFO] [stdout] 787 | let mut stream = Cursor::new(stream.as_slice()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:788:22 [INFO] [stdout] | [INFO] [stdout] 788 | let result = AdCodec5::decode_stream(&mut stream); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:795:19 [INFO] [stdout] | [INFO] [stdout] 795 | let key = LuaValue::String(String::from("Key")); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/codec.rs:807:51 [INFO] [stdout] | [INFO] [stdout] 807 | fn test_lua_serialize() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/codec.rs:809:24 [INFO] [stdout] | [INFO] [stdout] 809 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::HashMap; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LuaValue` in this scope [INFO] [stdout] --> src/codec.rs:809:32 [INFO] [stdout] | [INFO] [stdout] 809 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LuaValue` in this scope [INFO] [stdout] --> src/codec.rs:809:42 [INFO] [stdout] | [INFO] [stdout] 809 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/codec.rs:809:54 [INFO] [stdout] | [INFO] [stdout] 809 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::HashMap; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | LuaValue::String(String::from("Key")), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | LuaValue::Double(20.25), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/codec.rs:815:25 [INFO] [stdout] | [INFO] [stdout] 815 | let mut stream: Cursor> = Cursor::new(Vec::new()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/codec.rs:815:43 [INFO] [stdout] | [INFO] [stdout] 815 | let mut stream: Cursor> = Cursor::new(Vec::new()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:818:9 [INFO] [stdout] | [INFO] [stdout] 818 | AdCodec5::encode_stream(&LuaValue::Table(table), &mut stream) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:818:34 [INFO] [stdout] | [INFO] [stdout] 818 | AdCodec5::encode_stream(&LuaValue::Table(table), &mut stream) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:830:21 [INFO] [stdout] | [INFO] [stdout] 830 | data.extend(AdCodec5::double_as_bytes(&20.25)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/codec.rs:839:63 [INFO] [stdout] | [INFO] [stdout] 839 | fn test_deserialize_and_serialize() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 736 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/codec.rs:840:24 [INFO] [stdout] | [INFO] [stdout] 840 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::HashMap; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LuaValue` in this scope [INFO] [stdout] --> src/codec.rs:840:32 [INFO] [stdout] | [INFO] [stdout] 840 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LuaValue` in this scope [INFO] [stdout] --> src/codec.rs:840:42 [INFO] [stdout] | [INFO] [stdout] 840 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/codec.rs:840:54 [INFO] [stdout] | [INFO] [stdout] 840 | let mut table: HashMap = HashMap::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::HashMap; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:841:42 [INFO] [stdout] | [INFO] [stdout] 841 | table.insert(lua_string!("Key"), LuaValue::Double(20.25)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/codec.rs:843:25 [INFO] [stdout] | [INFO] [stdout] 843 | let mut stream: Cursor> = Cursor::new(Vec::new()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/codec.rs:843:43 [INFO] [stdout] | [INFO] [stdout] 843 | let mut stream: Cursor> = Cursor::new(Vec::new()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | AdCodec5::encode_stream(&LuaValue::Table(table), &mut stream) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:846:34 [INFO] [stdout] | [INFO] [stdout] 846 | AdCodec5::encode_stream(&LuaValue::Table(table), &mut stream) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/codec.rs:850:26 [INFO] [stdout] | [INFO] [stdout] 850 | let mut stream = Cursor::new(stream.as_slice()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 736 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdCodec5` [INFO] [stdout] --> src/codec.rs:852:14 [INFO] [stdout] | [INFO] [stdout] 852 | *AdCodec5::decode_stream(&mut stream).expect("Unable to deserialize lua table"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AdCodec5` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 736 + use crate::codec::AdCodec5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LuaValue` [INFO] [stdout] --> src/codec.rs:857:19 [INFO] [stdout] | [INFO] [stdout] 857 | let key = LuaValue::String(String::from("Key")); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LuaValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 736 + use crate::LuaValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adv2-splitter` (bin "adv2-splitter" test) due to 47 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `info_mut` and `value_mut` are never used [INFO] [stdout] --> src/codec.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl DuplicationResult { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn info_mut(&mut self) -> &mut DuplicationInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value_mut(&mut self) -> &mut LuaValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl LuaValue { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 163 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn is_double(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn as_double(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn as_double_mut(&mut self) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn is_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn as_table_mut(&mut self) -> Option<&mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn as_vector(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn as_vector_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_angle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn as_angle(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn as_angle_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codec.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 715 | UnsupportedCodec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cfaf10a804f5cbd6e2dbecf7cb7df22a9db8d400f09e535f284bb142d1654889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfaf10a804f5cbd6e2dbecf7cb7df22a9db8d400f09e535f284bb142d1654889", kill_on_drop: false }` [INFO] [stdout] cfaf10a804f5cbd6e2dbecf7cb7df22a9db8d400f09e535f284bb142d1654889