[INFO] cloning repository https://github.com/TheSchemm/bf_jit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheSchemm/bf_jit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSchemm%2Fbf_jit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSchemm%2Fbf_jit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2313d3a2a2984278506881b467d9fe0f6051e72b [INFO] checking TheSchemm/bf_jit against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSchemm%2Fbf_jit" "/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/TheSchemm/bf_jit on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheSchemm/bf_jit [INFO] finished tweaking git repo https://github.com/TheSchemm/bf_jit [INFO] tweaked toml for git repo https://github.com/TheSchemm/bf_jit written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/TheSchemm/bf_jit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a678d517f2acad495c58846188e61a7262835798baafbaacbdf1afdb01412b08 [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" "a678d517f2acad495c58846188e61a7262835798baafbaacbdf1afdb01412b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a678d517f2acad495c58846188e61a7262835798baafbaacbdf1afdb01412b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a678d517f2acad495c58846188e61a7262835798baafbaacbdf1afdb01412b08", kill_on_drop: false }` [INFO] [stdout] a678d517f2acad495c58846188e61a7262835798baafbaacbdf1afdb01412b08 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a9d894e6a1d0bce50a029afcc0fa4eddd77e7cceea93ab63769183d2d09c90 [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" "54a9d894e6a1d0bce50a029afcc0fa4eddd77e7cceea93ab63769183d2d09c90", kill_on_drop: false }` [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking kernel32-sys v0.2.2 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking bf_jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `Emitter` [INFO] [stdout] --> src/main.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | mod Emitter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `Emitter`, create file "src/Emitter.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Emitter::x64` [INFO] [stdout] --> src/main.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | use Emitter::x64; [INFO] [stdout] | ^^^^^^^^^^^^ no `x64` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `Emitter` [INFO] [stdout] --> src/main.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | mod Emitter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `Emitter`, create file "src/Emitter.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Emitter::x64` [INFO] [stdout] --> src/main.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | use Emitter::x64; [INFO] [stdout] | ^^^^^^^^^^^^ no `x64` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stdout] --> src/main.rs:585:22 [INFO] [stdout] | [INFO] [stdout] 585 | let e = Emitter::Emitter::new(); [INFO] [stdout] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stdout] --> src/main.rs:612:86 [INFO] [stdout] | [INFO] [stdout] 612 | e.emit(x64::Opcode::Mov, x64::Operand::Reg64Reg64{d: x64::Reg64::Rax, s:Emitter::Emitter::ArgReg(0)}, &mut code_buff); [INFO] [stdout] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stdout] --> src/main.rs:620:61 [INFO] [stdout] | [INFO] [stdout] 620 | e.emit(x64::Opcode::Inc, x64::Operand::BytePtr(Emitter::Emitter::ArgReg(0)), &mut code_buff); [INFO] [stdout] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Write` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Write, Error, ErrorKind, Cursor}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_function(&self, offset: isize) -> (fn() -> i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | use time::{Duration, PreciseTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stdout] --> src/main.rs:585:22 [INFO] [stdout] | [INFO] [stdout] 585 | let e = Emitter::Emitter::new(); [INFO] [stdout] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stdout] --> src/main.rs:612:86 [INFO] [stdout] | [INFO] [stdout] 612 | e.emit(x64::Opcode::Mov, x64::Operand::Reg64Reg64{d: x64::Reg64::Rax, s:Emitter::Emitter::ArgReg(0)}, &mut code_buff); [INFO] [stdout] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stdout] --> src/main.rs:620:61 [INFO] [stdout] | [INFO] [stdout] 620 | e.emit(x64::Opcode::Inc, x64::Operand::BytePtr(Emitter::Emitter::ArgReg(0)), &mut code_buff); [INFO] [stdout] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Write` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Write, Error, ErrorKind, Cursor}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_function(&self, offset: isize) -> (fn() -> i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | use time::{Duration, PreciseTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `drop` [INFO] [stdout] --> src/main.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | impl Drop for CodeBuff { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn drop(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `drop` [INFO] [stdout] --> src/main.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | impl Drop for CodeBuff { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn drop(&mut self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `alloc` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- function or associated item `alloc` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | match CodeBuff::alloc(num_pages) { [INFO] [stdout] | ^^^^^ function or associated item not found in `CodeBuff` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `alloc`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `GlobalAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- function or associated item `get_page_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | let _size = CodeBuff::get_page_size() * num_pages; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:572:45 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- function or associated item `get_page_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 572 | println!("Page size: 0x{:X}", CodeBuff::get_page_size()); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protect` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:626:15 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- method `protect` not found for this [INFO] [stdout] ... [INFO] [stdout] 626 | code_buff.protect(true, true); [INFO] [stdout] | ^^^^^^^ method not found in `CodeBuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `alloc` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- function or associated item `alloc` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | match CodeBuff::alloc(num_pages) { [INFO] [stdout] | ^^^^^ function or associated item not found in `CodeBuff` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `alloc`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `GlobalAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- function or associated item `get_page_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | let _size = CodeBuff::get_page_size() * num_pages; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bf_jit` [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] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:572:45 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- function or associated item `get_page_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 572 | println!("Page size: 0x{:X}", CodeBuff::get_page_size()); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protect` found for struct `CodeBuff` in the current scope [INFO] [stdout] --> src/main.rs:626:15 [INFO] [stdout] | [INFO] [stdout] 13 | struct CodeBuff { [INFO] [stdout] | --------------- method `protect` not found for this [INFO] [stdout] ... [INFO] [stdout] 626 | code_buff.protect(true, true); [INFO] [stdout] | ^^^^^^^ method not found in `CodeBuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "54a9d894e6a1d0bce50a029afcc0fa4eddd77e7cceea93ab63769183d2d09c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a9d894e6a1d0bce50a029afcc0fa4eddd77e7cceea93ab63769183d2d09c90", kill_on_drop: false }` [INFO] [stdout] 54a9d894e6a1d0bce50a029afcc0fa4eddd77e7cceea93ab63769183d2d09c90