[INFO] fetching crate bsa 0.2.1... [INFO] testing bsa-0.2.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate bsa 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bsa 0.2.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bsa 0.2.1 [INFO] finished tweaking crates.io crate bsa 0.2.1 [INFO] tweaked toml for crates.io crate bsa 0.2.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate bsa 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d137ae7d0170324c40c5ebe40a5e56b58567d052935496397d349e6295f02131 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d137ae7d0170324c40c5ebe40a5e56b58567d052935496397d349e6295f02131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d137ae7d0170324c40c5ebe40a5e56b58567d052935496397d349e6295f02131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d137ae7d0170324c40c5ebe40a5e56b58567d052935496397d349e6295f02131", kill_on_drop: false }` [INFO] [stdout] d137ae7d0170324c40c5ebe40a5e56b58567d052935496397d349e6295f02131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 117cd81db6d2865a007fafec116d32d965655211cb6152864d713f51e9c80d5c [INFO] running `Command { std: "docker" "start" "-a" "117cd81db6d2865a007fafec116d32d965655211cb6152864d713f51e9c80d5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling libflate_lz77 v1.1.0 [INFO] [stderr] Compiling libflate v1.1.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enumflags2_derive v0.7.0 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling enumflags2 v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling lz4 v1.23.2 [INFO] [stderr] Compiling bsa v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "117cd81db6d2865a007fafec116d32d965655211cb6152864d713f51e9c80d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117cd81db6d2865a007fafec116d32d965655211cb6152864d713f51e9c80d5c", kill_on_drop: false }` [INFO] [stdout] 117cd81db6d2865a007fafec116d32d965655211cb6152864d713f51e9c80d5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0216d1ecd9bcf6aa1a48eb3675eed1af50b47ca39b16d232bcd1193c0444e3ef [INFO] running `Command { std: "docker" "start" "-a" "0216d1ecd9bcf6aa1a48eb3675eed1af50b47ca39b16d232bcd1193c0444e3ef", kill_on_drop: false }` [INFO] [stderr] Compiling bsa v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> 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] error[E0599]: no function or associated item named `new` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> 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 `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bsa` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `BsaDirSource` in this scope [INFO] [stdout] --> 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] --> 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] --> 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] warning: unused import: `Dir` [INFO] [stdout] --> 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] --> 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] --> 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::Dir` [INFO] [stdout] --> 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] = note: available fields are: `id`, `files` [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] --> 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] = note: available fields are: `id`, `files` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] --> 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] = note: available fields are: `id`, `files` [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] --> 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] = note: available fields are: `id`, `files` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] --> 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] = note: available fields are: `id`, `files` [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] --> 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] = note: available fields are: `id`, `files` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] error[E0609]: no field `hash` on type `read::File` [INFO] [stdout] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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] --> 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] = note: available fields are: `id`, `compressed`, `offset`, `size` [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: aborting due to 17 previous errors; 3 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: build failed [INFO] running `Command { std: "docker" "inspect" "0216d1ecd9bcf6aa1a48eb3675eed1af50b47ca39b16d232bcd1193c0444e3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0216d1ecd9bcf6aa1a48eb3675eed1af50b47ca39b16d232bcd1193c0444e3ef", kill_on_drop: false }` [INFO] [stdout] 0216d1ecd9bcf6aa1a48eb3675eed1af50b47ca39b16d232bcd1193c0444e3ef