[INFO] cloning repository https://github.com/megumish/practice-elf-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megumish/practice-elf-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegumish%2Fpractice-elf-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegumish%2Fpractice-elf-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bcc8b053ab399c8934a0d0e0ea52ec504ed2447 [INFO] testing megumish/practice-elf-parser against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegumish%2Fpractice-elf-parser" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megumish/practice-elf-parser on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megumish/practice-elf-parser [INFO] finished tweaking git repo https://github.com/megumish/practice-elf-parser [INFO] tweaked toml for git repo https://github.com/megumish/practice-elf-parser written to /workspace/builds/worker-40/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 569ff514fe75cd1c0bd9de5ed8820900edc604b8af50da70019f4b016f932d05 [INFO] running `Command { std: "docker" "start" "-a" "569ff514fe75cd1c0bd9de5ed8820900edc604b8af50da70019f4b016f932d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "569ff514fe75cd1c0bd9de5ed8820900edc604b8af50da70019f4b016f932d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "569ff514fe75cd1c0bd9de5ed8820900edc604b8af50da70019f4b016f932d05", kill_on_drop: false }` [INFO] [stdout] 569ff514fe75cd1c0bd9de5ed8820900edc604b8af50da70019f4b016f932d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe53f0b8a130569a13f6130f510be2c49952d0a7f9e12ba9b7a54e87a90e229b [INFO] running `Command { std: "docker" "start" "-a" "fe53f0b8a130569a13f6130f510be2c49952d0a7f9e12ba9b7a54e87a90e229b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling practice-elf-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `swap_bytes` found for type parameter `Class` in the current scope [INFO] [stdout] --> src/as_c_struct.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | e_entry: self.e_entry.swap_bytes(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `Class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `swap_bytes` found for type parameter `Class` in the current scope [INFO] [stdout] --> src/as_c_struct.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | e_phoff: self.e_phoff.swap_bytes(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `Class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `swap_bytes` found for type parameter `Class` in the current scope [INFO] [stdout] --> src/as_c_struct.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | e_shoff: self.e_shoff.swap_bytes(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `Class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ELFIdentifier` [INFO] [stdout] --> src/lib.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | endian: if h.e_ident == 1 { [INFO] [stdout] | --------- ^^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | ELFIdentifier [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `ELFIdentifier` [INFO] [stdout] --> src/as_c_struct.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ELFIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `ELFIdentifier` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `elf_header_size`, `entry`, `file_type` and 10 other fields in initializer of `ELFHeader<'_, Class>` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Self { [INFO] [stdout] | ^^^^ missing `elf_header_size`, `entry`, `file_type` and 10 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/zero_alloc.rs:90:59 [INFO] [stdout] | [INFO] [stdout] 90 | let elf_header = ELFHeader::from_c_struct(h); [INFO] [stdout] | ^ expected struct `as_c_struct::ELFHeader`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `as_c_struct::ELFHeader<_>` [INFO] [stdout] found reference `&as_c_struct::ELFHeader` [INFO] [stdout] note: return type inferred to be `as_c_struct::ELFHeader<_>` here [INFO] [stdout] --> src/parser/zero_alloc.rs:76:80 [INFO] [stdout] | [INFO] [stdout] 76 | async fn parse_elf_header(&self) -> Result, crate::Error> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 77 | | if self.has_valid_magic() { [INFO] [stdout] 78 | | return Err(crate::Error::InvalidMagic(self.raw_elf_header.magic())); [INFO] [stdout] 79 | | } [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `practice-elf-parser` due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0369, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe53f0b8a130569a13f6130f510be2c49952d0a7f9e12ba9b7a54e87a90e229b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe53f0b8a130569a13f6130f510be2c49952d0a7f9e12ba9b7a54e87a90e229b", kill_on_drop: false }` [INFO] [stdout] fe53f0b8a130569a13f6130f510be2c49952d0a7f9e12ba9b7a54e87a90e229b