[INFO] updating cached repository https://github.com/TheSchemm/bf_jit [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2313d3a2a2984278506881b467d9fe0f6051e72b [INFO] checking TheSchemm/bf_jit against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSchemm%2Fbf_jit" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheSchemm/bf_jit on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/TheSchemm/bf_jit already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9eb96044af02ca18f7211c05719c83a37836b95fce46a540d997a5c76b373286 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "9eb96044af02ca18f7211c05719c83a37836b95fce46a540d997a5c76b373286"` [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking bf_jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0583]: file not found for module `Emitter` [INFO] [stderr] --> src/main.rs:212:1 [INFO] [stderr] | [INFO] [stderr] 212 | mod Emitter; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `Emitter`, create file "src/Emitter.rs" [INFO] [stderr] [INFO] [stderr] error[E0583]: file not found for module `Emitter` [INFO] [stderr] --> src/main.rs:212:1 [INFO] [stderr] | [INFO] [stderr] 212 | mod Emitter; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `Emitter`, create file "src/Emitter.rs" [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `Emitter::x64` [INFO] [stderr] --> src/main.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | use Emitter::x64; [INFO] [stderr] | ^^^^^^^^^^^^ no `x64` in `Emitter` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `Emitter::x64` [INFO] [stderr] --> src/main.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | use Emitter::x64; [INFO] [stderr] | ^^^^^^^^^^^^ no `x64` in `Emitter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stderr] --> src/main.rs:585:22 [INFO] [stderr] | [INFO] [stderr] 585 | let e = Emitter::Emitter::new(); [INFO] [stderr] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stderr] --> src/main.rs:612:86 [INFO] [stderr] | [INFO] [stderr] 612 | e.emit(x64::Opcode::Mov, x64::Operand::Reg64Reg64{d: x64::Reg64::Rax, s:Emitter::Emitter::ArgReg(0)}, &mut code_buff); [INFO] [stderr] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stderr] --> src/main.rs:620:61 [INFO] [stderr] | [INFO] [stderr] 620 | e.emit(x64::Opcode::Inc, x64::Operand::BytePtr(Emitter::Emitter::ArgReg(0)), &mut code_buff); [INFO] [stderr] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cursor`, `Write` [INFO] [stderr] --> src/main.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{Write, Error, ErrorKind, Cursor}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:94:46 [INFO] [stderr] | [INFO] [stderr] 94 | fn get_function(&self, offset: isize) -> (fn() -> i64) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:670:12 [INFO] [stderr] | [INFO] [stderr] 670 | use time::{Duration, PreciseTime}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stderr] --> src/main.rs:585:22 [INFO] [stderr] | [INFO] [stderr] 585 | let e = Emitter::Emitter::new(); [INFO] [stderr] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stderr] --> src/main.rs:612:86 [INFO] [stderr] | [INFO] [stderr] 612 | e.emit(x64::Opcode::Mov, x64::Operand::Reg64Reg64{d: x64::Reg64::Rax, s:Emitter::Emitter::ArgReg(0)}, &mut code_buff); [INFO] [stderr] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Emitter` in `Emitter` [INFO] [stderr] --> src/main.rs:620:61 [INFO] [stderr] | [INFO] [stderr] 620 | e.emit(x64::Opcode::Inc, x64::Operand::BytePtr(Emitter::Emitter::ArgReg(0)), &mut code_buff); [INFO] [stderr] | ^^^^^^^ could not find `Emitter` in `Emitter` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cursor`, `Write` [INFO] [stderr] --> src/main.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{Write, Error, ErrorKind, Cursor}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:94:46 [INFO] [stderr] | [INFO] [stderr] 94 | fn get_function(&self, offset: isize) -> (fn() -> i64) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:670:12 [INFO] [stderr] | [INFO] [stderr] 670 | use time::{Duration, PreciseTime}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `drop` [INFO] [stderr] --> src/main.rs:194:1 [INFO] [stderr] | [INFO] [stderr] 194 | impl Drop for CodeBuff { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn drop(&mut self) { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `drop` [INFO] [stderr] --> src/main.rs:194:1 [INFO] [stderr] | [INFO] [stderr] 194 | impl Drop for CodeBuff { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn drop(&mut self) { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `alloc` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- function or associated item `alloc` not found for this [INFO] [stderr] ... [INFO] [stderr] 24 | match CodeBuff::alloc(num_pages) { [INFO] [stderr] | ^^^^^ function or associated item not found in `CodeBuff` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `alloc`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `std::alloc::GlobalAlloc` [INFO] [stderr] candidate #2: `std::alloc::AllocRef` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:29:31 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- function or associated item `get_page_size` not found for this [INFO] [stderr] ... [INFO] [stderr] 29 | let _size = CodeBuff::get_page_size() * num_pages; [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `alloc` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- function or associated item `alloc` not found for this [INFO] [stderr] ... [INFO] [stderr] 24 | match CodeBuff::alloc(num_pages) { [INFO] [stderr] | ^^^^^ function or associated item not found in `CodeBuff` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `alloc`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `std::alloc::GlobalAlloc` [INFO] [stderr] candidate #2: `std::alloc::AllocRef` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:29:31 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- function or associated item `get_page_size` not found for this [INFO] [stderr] ... [INFO] [stderr] 29 | let _size = CodeBuff::get_page_size() * num_pages; [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:572:45 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- function or associated item `get_page_size` not found for this [INFO] [stderr] ... [INFO] [stderr] 572 | println!("Page size: 0x{:X}", CodeBuff::get_page_size()); [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `protect` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:626:15 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- method `protect` not found for this [INFO] [stderr] ... [INFO] [stderr] 626 | code_buff.protect(true, true); [INFO] [stderr] | ^^^^^^^ method not found in `CodeBuff` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `get_page_size` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:572:45 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- function or associated item `get_page_size` not found for this [INFO] [stderr] ... [INFO] [stderr] 572 | println!("Page size: 0x{:X}", CodeBuff::get_page_size()); [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `CodeBuff` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `protect` found for struct `CodeBuff` in the current scope [INFO] [stderr] --> src/main.rs:626:15 [INFO] [stderr] | [INFO] [stderr] 13 | struct CodeBuff { [INFO] [stderr] | --------------- method `protect` not found for this [INFO] [stderr] ... [INFO] [stderr] 626 | code_buff.protect(true, true); [INFO] [stderr] | ^^^^^^^ method not found in `CodeBuff` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0432, E0433, E0583, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [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] [stderr] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0432, E0433, E0583, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: could not compile `bf_jit`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9eb96044af02ca18f7211c05719c83a37836b95fce46a540d997a5c76b373286"` [INFO] running `"docker" "rm" "-f" "9eb96044af02ca18f7211c05719c83a37836b95fce46a540d997a5c76b373286"` [INFO] [stdout] 9eb96044af02ca18f7211c05719c83a37836b95fce46a540d997a5c76b373286