[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] testing TheSchemm/bf_jit 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%2FTheSchemm%2Fbf_jit" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheSchemm/bf_jit 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/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-10/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 3befcfb9f2a5f458ebfacb223ec29a89365f47e13943466aadf1f2b8c2144319 [INFO] running `Command { std: "docker" "start" "-a" "3befcfb9f2a5f458ebfacb223ec29a89365f47e13943466aadf1f2b8c2144319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3befcfb9f2a5f458ebfacb223ec29a89365f47e13943466aadf1f2b8c2144319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3befcfb9f2a5f458ebfacb223ec29a89365f47e13943466aadf1f2b8c2144319", kill_on_drop: false }` [INFO] [stdout] 3befcfb9f2a5f458ebfacb223ec29a89365f47e13943466aadf1f2b8c2144319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 1fb87f8d4c4e291fd86bf831a4323a5e59de76c16939f8dbf2b461ffa9f10694 [INFO] running `Command { std: "docker" "start" "-a" "1fb87f8d4c4e291fd86bf831a4323a5e59de76c16939f8dbf2b461ffa9f10694", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling 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" or "src/Emitter/mod.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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - fn get_function(&self, offset: isize) -> (fn() -> i64) { [INFO] [stdout] 94 + fn get_function(&self, offset: isize) -> fn() -> i64 { [INFO] [stdout] | [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[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] [stderr] error: could not compile `bf_jit` due to 11 previous errors; 4 warnings emitted [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] running `Command { std: "docker" "inspect" "1fb87f8d4c4e291fd86bf831a4323a5e59de76c16939f8dbf2b461ffa9f10694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb87f8d4c4e291fd86bf831a4323a5e59de76c16939f8dbf2b461ffa9f10694", kill_on_drop: false }` [INFO] [stdout] 1fb87f8d4c4e291fd86bf831a4323a5e59de76c16939f8dbf2b461ffa9f10694