[INFO] cloning repository https://github.com/AtsukiTak/atom-asm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AtsukiTak/atom-asm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtsukiTak%2Fatom-asm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtsukiTak%2Fatom-asm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a42609690a23a6b9db79d85404d5f4987ed5378 [INFO] testing AtsukiTak/atom-asm against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtsukiTak%2Fatom-asm" "/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/AtsukiTak/atom-asm on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AtsukiTak/atom-asm [INFO] finished tweaking git repo https://github.com/AtsukiTak/atom-asm [INFO] tweaked toml for git repo https://github.com/AtsukiTak/atom-asm written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/AtsukiTak/atom-asm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b468d0e84b2717193142a9b5dce3e4fefb872c8d7dab69489c43b79dcc84f09e [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" "b468d0e84b2717193142a9b5dce3e4fefb872c8d7dab69489c43b79dcc84f09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b468d0e84b2717193142a9b5dce3e4fefb872c8d7dab69489c43b79dcc84f09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b468d0e84b2717193142a9b5dce3e4fefb872c8d7dab69489c43b79dcc84f09e", kill_on_drop: false }` [INFO] [stdout] b468d0e84b2717193142a9b5dce3e4fefb872c8d7dab69489c43b79dcc84f09e [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "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] aaf491dcd1dbcf7e0160e1d0fecdaf8228203474cf9b26af6e138ab2fabb5c70 [INFO] running `Command { std: "docker" "start" "-a" "aaf491dcd1dbcf7e0160e1d0fecdaf8228203474cf9b26af6e138ab2fabb5c70", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling atom-x86-64 v0.1.0 (/opt/rustwide/workdir/atom-x86-64) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling atom-macho v0.1.0 (/opt/rustwide/workdir/atom-macho) [INFO] [stderr] Compiling atom-objpars v0.1.0 (/opt/rustwide/workdir/atom-objparse) [INFO] [stderr] Compiling atom-asm v0.1.0 (/opt/rustwide/workdir/atom-asm) [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> atom-asm/src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = macho::serialize(&macho); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sect_cmd` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let sect_cmd = Section64Builder::new() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sect_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seg_cmd` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let seg_cmd = SegmentCommand64Builder::new() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seg_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symtab_cmd` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let symtab_cmd = SymTabBuilder::new() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symtab_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `macho` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn serialize(macho: &MachO) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_macho` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reloff` [INFO] [stdout] --> atom-asm/src/macho/load_command/segment64.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn reloff(&mut self, reloff: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nreloc` [INFO] [stdout] --> atom-asm/src/macho/load_command/segment64.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn nreloc(&mut self, nreloc: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_nlist` [INFO] [stdout] --> atom-objparse/src/macho/nlist.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_nlist(buf: &mut Reader) -> NList64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pos` [INFO] [stdout] --> atom-objparse/src/reader.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn set_pos(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u8` [INFO] [stdout] --> atom-objparse/src/reader.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_u8(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u16` [INFO] [stdout] --> atom-objparse/src/reader.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_u16(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_c_string` [INFO] [stdout] --> atom-objparse/src/reader.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn read_c_string(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.16s [INFO] running `Command { std: "docker" "inspect" "aaf491dcd1dbcf7e0160e1d0fecdaf8228203474cf9b26af6e138ab2fabb5c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf491dcd1dbcf7e0160e1d0fecdaf8228203474cf9b26af6e138ab2fabb5c70", kill_on_drop: false }` [INFO] [stdout] aaf491dcd1dbcf7e0160e1d0fecdaf8228203474cf9b26af6e138ab2fabb5c70 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "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] f54b6e2a13d60eb38c7c17de2516f03942ceb693554dd1e9e55e9445e0dd99d2 [INFO] running `Command { std: "docker" "start" "-a" "f54b6e2a13d60eb38c7c17de2516f03942ceb693554dd1e9e55e9445e0dd99d2", kill_on_drop: false }` [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling atom-x86-64 v0.1.0 (/opt/rustwide/workdir/atom-x86-64) [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling atom-macho v0.1.0 (/opt/rustwide/workdir/atom-macho) [INFO] [stderr] Compiling atom-asm v0.1.0 (/opt/rustwide/workdir/atom-asm) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atom_macho_types` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atom_macho_types::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `atom_macho_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `atom_macho_types` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atom_macho_types::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `atom_macho_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> atom-asm/src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let bytes = macho::serialize(&macho); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sect_cmd` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let sect_cmd = Section64Builder::new() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sect_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seg_cmd` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let seg_cmd = SegmentCommand64Builder::new() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seg_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symtab_cmd` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let symtab_cmd = SymTabBuilder::new() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symtab_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `macho` [INFO] [stdout] --> atom-asm/src/macho/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn serialize(macho: &MachO) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_macho` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reloff` [INFO] [stdout] --> atom-asm/src/macho/load_command/segment64.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn reloff(&mut self, reloff: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nreloc` [INFO] [stdout] --> atom-asm/src/macho/load_command/segment64.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn nreloc(&mut self, nreloc: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flag` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | flags.push(Flag::SubsectionsViaSymbols); [INFO] [stdout] | ^^^^ use of undeclared type `Flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Magic` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | magic: Magic::Magic64, [INFO] [stdout] | ^^^^^ use of undeclared type `Magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuSubTypeX86_64` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | cpu_type: CpuType::X86_64(CpuSubTypeX86_64::All), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CpuSubTypeX86_64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileType` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | file_type: FileType::Object, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FileType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn expected_header() -> Header { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut flags = Flags::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use atom_macho::header::Flags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Header` in this scope [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Header { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuType` [INFO] [stdout] --> atom-macho/tests/parse_sample_macho.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | cpu_type: CpuType::X86_64(CpuSubTypeX86_64::All), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use atom_macho::header::CpuType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atom-macho` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f54b6e2a13d60eb38c7c17de2516f03942ceb693554dd1e9e55e9445e0dd99d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54b6e2a13d60eb38c7c17de2516f03942ceb693554dd1e9e55e9445e0dd99d2", kill_on_drop: false }` [INFO] [stdout] f54b6e2a13d60eb38c7c17de2516f03942ceb693554dd1e9e55e9445e0dd99d2