[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegumish%2Fpractice-elf-parser" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megumish/practice-elf-parser on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6041f9fbbad525f40e63a85ce3c6c88ad176abb4bfbfde2ee56b2a1141a261f6 [INFO] running `Command { std: "docker" "start" "-a" "6041f9fbbad525f40e63a85ce3c6c88ad176abb4bfbfde2ee56b2a1141a261f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6041f9fbbad525f40e63a85ce3c6c88ad176abb4bfbfde2ee56b2a1141a261f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6041f9fbbad525f40e63a85ce3c6c88ad176abb4bfbfde2ee56b2a1141a261f6", kill_on_drop: false }` [INFO] [stdout] 6041f9fbbad525f40e63a85ce3c6c88ad176abb4bfbfde2ee56b2a1141a261f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 507bbfb94c0d3c43455304df4d00d13d60c87fd446478d1bd3512c94ec7b6f34 [INFO] running `Command { std: "docker" "start" "-a" "507bbfb94c0d3c43455304df4d00d13d60c87fd446478d1bd3512c94ec7b6f34", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.7.0 [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 event-listener v2.5.2 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [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 futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling ctor v0.1.21 [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.2 [INFO] [stderr] Compiling async-std v1.10.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] [stdout] Some errors have detailed explanations: E0063, E0308, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `practice-elf-parser` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "507bbfb94c0d3c43455304df4d00d13d60c87fd446478d1bd3512c94ec7b6f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507bbfb94c0d3c43455304df4d00d13d60c87fd446478d1bd3512c94ec7b6f34", kill_on_drop: false }` [INFO] [stdout] 507bbfb94c0d3c43455304df4d00d13d60c87fd446478d1bd3512c94ec7b6f34