[INFO] cloning repository https://github.com/chisui/bsa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chisui/bsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchisui%2Fbsa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchisui%2Fbsa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 896728d2b5eca20acf9609302ff8d466cb2a4347 [INFO] checking chisui/bsa/896728d2b5eca20acf9609302ff8d466cb2a4347 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchisui%2Fbsa" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chisui/bsa 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] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/chisui/bsa [INFO] finished tweaking git repo https://github.com/chisui/bsa [INFO] tweaked toml for git repo https://github.com/chisui/bsa written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chisui/bsa 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] Downloading crates ... [INFO] [stderr] Downloaded libflate_lz77 v1.1.0 [INFO] [stderr] Downloaded strum_macros v0.22.0 [INFO] [stderr] Downloaded strum v0.22.0 [INFO] [stderr] Downloaded enumflags2 v0.7.1 [INFO] [stderr] Downloaded os_str_bytes v3.1.0 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.4 [INFO] [stderr] Downloaded bytemuck v1.7.0 [INFO] [stderr] Downloaded libflate v1.1.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.0 [INFO] [stderr] Downloaded lz4 v1.23.2 [INFO] [stderr] Downloaded clap v3.0.0-beta.4 [INFO] [stderr] Downloaded lz4-sys v1.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee9c1074d4cde365debd06e29730a9f65c48c354d5fb075b6a3293d15f0cc7c4 [INFO] running `Command { std: "docker" "start" "-a" "ee9c1074d4cde365debd06e29730a9f65c48c354d5fb075b6a3293d15f0cc7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee9c1074d4cde365debd06e29730a9f65c48c354d5fb075b6a3293d15f0cc7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9c1074d4cde365debd06e29730a9f65c48c354d5fb075b6a3293d15f0cc7c4", kill_on_drop: false }` [INFO] [stdout] ee9c1074d4cde365debd06e29730a9f65c48c354d5fb075b6a3293d15f0cc7c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f18ee5affeb2b772d0d7e2dcd43ddc59e12e2efd16c7e0ba1fe0667ac4de035 [INFO] running `Command { std: "docker" "start" "-a" "8f18ee5affeb2b772d0d7e2dcd43ddc59e12e2efd16c7e0ba1fe0667ac4de035", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking libflate v1.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.0 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking enumflags2 v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking strum v0.22.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking lz4 v1.23.2 [INFO] [stderr] Checking bsa v0.2.1 (/opt/rustwide/workdir/bsa) [INFO] [stderr] Checking esp v0.2.1 (/opt/rustwide/workdir/esp) [INFO] [stdout] error[E0412]: cannot find type `BsaDirSource` in this scope [INFO] [stdout] --> bsa/src/v103.rs:171:48 [INFO] [stdout] | [INFO] [stdout] 171 | fn check_write_read_identity_bsa(dirs: Vec>>) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BsaDirSource` in this scope [INFO] [stdout] --> bsa/src/v104.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | fn check_write_read_identity_bsa(dirs: Vec>>) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BsaDirSource` in this scope [INFO] [stdout] --> bsa/src/v105.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | fn check_write_read_identity_bsa(dirs: Vec>>) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::io` [INFO] [stdout] --> esp/src/raw.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | use std::io::io::Result; [INFO] [stdout] | ^^ could not find `io` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> bsa/src/v103.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::write::{Dir, test::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> bsa/src/v104.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::write::{Dir, test::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dir` [INFO] [stdout] --> bsa/src/v105.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::write::{Dir, test::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::File` [INFO] [stdout] --> bsa/src/v001.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(files[0].hash, Hash::v001("a\\b"), "files[0].hash"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(files[0].id.hash, Hash::v001("a\\b"), "files[0].hash"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::File` [INFO] [stdout] --> bsa/src/v001.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(files[0].name, Some("a\\b".to_owned()), "files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(files[0].id.name, Some("a\\b".to_owned()), "files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::Dir` [INFO] [stdout] --> bsa/src/v103.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(in_dirs[0].hash, Hash::v10x("a"), "in_dirs[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(in_dirs[0].id.hash, Hash::v10x("a"), "in_dirs[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::Dir` [INFO] [stdout] --> bsa/src/v103.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(in_dirs[0].name, Some("a".to_owned()), "in_dirs[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(in_dirs[0].id.name, Some("a".to_owned()), "in_dirs[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::File` [INFO] [stdout] --> bsa/src/v103.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(in_dirs[0].files[0].hash, Hash::v10x("b"), "in_dirs[0].files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(in_dirs[0].files[0].id.hash, Hash::v10x("b"), "in_dirs[0].files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::File` [INFO] [stdout] --> bsa/src/v103.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(in_dirs[0].files[0].name, Some("b".to_owned()), "in_dirs[0].files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(in_dirs[0].files[0].id.name, Some("b".to_owned()), "in_dirs[0].files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::Dir` [INFO] [stdout] --> bsa/src/v104.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(in_dirs[0].hash, Hash::v10x("a"), "in_dirs[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(in_dirs[0].id.hash, Hash::v10x("a"), "in_dirs[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::Dir` [INFO] [stdout] --> bsa/src/v104.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(in_dirs[0].name, Some("a".to_owned()), "in_dirs[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(in_dirs[0].id.name, Some("a".to_owned()), "in_dirs[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::File` [INFO] [stdout] --> bsa/src/v104.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(in_dirs[0].files[0].hash, Hash::v10x("b"), "in_dirs[0].files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(in_dirs[0].files[0].id.hash, Hash::v10x("b"), "in_dirs[0].files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::File` [INFO] [stdout] --> bsa/src/v104.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(in_dirs[0].files[0].name, Some("b".to_owned()), "in_dirs[0].files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(in_dirs[0].files[0].id.name, Some("b".to_owned()), "in_dirs[0].files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::Dir` [INFO] [stdout] --> bsa/src/v105.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(in_dirs[0].hash, Hash::v10x("a"), "in_dirs[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(in_dirs[0].id.hash, Hash::v10x("a"), "in_dirs[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::Dir` [INFO] [stdout] --> bsa/src/v105.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(in_dirs[0].name, Some("a".to_owned()), "in_dirs[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(in_dirs[0].id.name, Some("a".to_owned()), "in_dirs[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `read::File` [INFO] [stdout] --> bsa/src/v105.rs:174:40 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(in_dirs[0].files[0].hash, Hash::v10x("b"), "in_dirs[0].files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(in_dirs[0].files[0].id.hash, Hash::v10x("b"), "in_dirs[0].files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `read::File` [INFO] [stdout] --> bsa/src/v105.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(in_dirs[0].files[0].name, Some("b".to_owned()), "in_dirs[0].files[0].name"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(in_dirs[0].files[0].id.name, Some("b".to_owned()), "in_dirs[0].files[0].name"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bsa/src/v10x.rs:516:25 [INFO] [stdout] | [INFO] [stdout] 516 | .map(|(dir, mut pdr)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bsa/src/v10x.rs:568:24 [INFO] [stdout] | [INFO] [stdout] 568 | for (file, mut fr) in dir.files.iter().zip(&mut pfcr.data.files) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_with_param_many` is never used [INFO] [stdout] --> bsa/src/bin.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub trait ReadableParam

: VarSize + Sized { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 148 | fn read_with_param_many(mut reader: R, num: usize, param: P) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> bsa/src/bin.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | for a in self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | derive_writable_via_into_iter!(Option); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_writable_via_into_iter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 233 | while let Some(a) = self { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(a) = self { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bsabin v0.2.1 (/opt/rustwide/workdir/bsabin) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> bsa/examples/create-simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bsa/src/v10x.rs:516:25 [INFO] [stdout] | [INFO] [stdout] 516 | .map(|(dir, mut pdr)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> bsa/examples/create-simple.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | File::new("b", b"some raw data") [INFO] [stdout] | ^^^ function or associated item not found in `File` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::fs::File` consider using one of the following associated functions: [INFO] [stdout] std::fs::File::open [INFO] [stdout] std::fs::File::create [INFO] [stdout] std::fs::File::create_new [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/fs.rs:374:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bsa/src/v10x.rs:568:24 [INFO] [stdout] | [INFO] [stdout] 568 | for (file, mut fr) in dir.files.iter().zip(&mut pfcr.data.files) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bsa` (example "create-simple") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> esp/src/typed/fact.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let mut rank = tmp.ranks.last_mut() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> esp/src/typed/fact.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut rank = tmp.ranks.last_mut() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> esp/src/typed/fact.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let mut rank = tmp.ranks.last_mut() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> esp/src/typed/fact.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut rank = tmp.ranks.last_mut() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bsa` (lib test) due to 18 previous errors; 5 warnings emitted [INFO] [stdout] warning: method `record_type` is never used [INFO] [stdout] --> esp/src/typed/record.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Record: Sized { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 15 | fn record_type(&self) -> RecordType; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esp` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f18ee5affeb2b772d0d7e2dcd43ddc59e12e2efd16c7e0ba1fe0667ac4de035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f18ee5affeb2b772d0d7e2dcd43ddc59e12e2efd16c7e0ba1fe0667ac4de035", kill_on_drop: false }` [INFO] [stdout] 8f18ee5affeb2b772d0d7e2dcd43ddc59e12e2efd16c7e0ba1fe0667ac4de035