[INFO] cloning repository https://github.com/taiyoslime/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/taiyoslime/bf-jit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaiyoslime%2Fbf-jit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaiyoslime%2Fbf-jit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a913dc538dcd9c301b1b7a079fc4692fdb7af88 [INFO] checking taiyoslime/bf-jit/9a913dc538dcd9c301b1b7a079fc4692fdb7af88 against master#cf8a95590a1b768b7711f2631d5b5e3ead464de7 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaiyoslime%2Fbf-jit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/taiyoslime/bf-jit [INFO] finished tweaking git repo https://github.com/taiyoslime/bf-jit [INFO] tweaked toml for git repo https://github.com/taiyoslime/bf-jit written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taiyoslime/bf-jit on toolchain cf8a95590a1b768b7711f2631d5b5e3ead464de7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/taiyoslime/bf-jit already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.1.18 [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded clap v3.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c1a01537b4bfd0697d154ecf6a330802c8978344848e080a3143dedfbe4084a [INFO] running `Command { std: "docker" "start" "-a" "7c1a01537b4bfd0697d154ecf6a330802c8978344848e080a3143dedfbe4084a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c1a01537b4bfd0697d154ecf6a330802c8978344848e080a3143dedfbe4084a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c1a01537b4bfd0697d154ecf6a330802c8978344848e080a3143dedfbe4084a", kill_on_drop: false }` [INFO] [stdout] 7c1a01537b4bfd0697d154ecf6a330802c8978344848e080a3143dedfbe4084a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aafd01d5c76c57eaca1f53c24622a5017c629cac8b3375f3dcaa381d6b9c39d [INFO] running `Command { std: "docker" "start" "-a" "9aafd01d5c76c57eaca1f53c24622a5017c629cac8b3375f3dcaa381d6b9c39d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking bf_jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bytecodes` [INFO] [stdout] --> src/jit.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | pub unsafe fn new_from_bytecode(bytecodes: &[Inst]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecodes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/jit.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | fn merge(page: MachineCodePage) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_from_bytecode` and `merge` are never used [INFO] [stdout] --> src/jit.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 275 | impl MachineCodePage { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub unsafe fn new_from_bytecode(bytecodes: &[Inst]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn merge(page: MachineCodePage) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pages` is never read [INFO] [stdout] --> src/jit.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct JIT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 330 | pages: BTreeMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/jit.rs:359:36 [INFO] [stdout] | [INFO] [stdout] 359 | let abort_addr = jit_abort as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 359 | let abort_addr = jit_abort as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/jit.rs:366:34 [INFO] [stdout] | [INFO] [stdout] 366 | let jit_io_addr = jit_io as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 366 | let jit_io_addr = jit_io as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytecodes` [INFO] [stdout] --> src/jit.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | pub unsafe fn new_from_bytecode(bytecodes: &[Inst]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecodes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/jit.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | fn merge(page: MachineCodePage) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_from_bytecode` and `merge` are never used [INFO] [stdout] --> src/jit.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 275 | impl MachineCodePage { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub unsafe fn new_from_bytecode(bytecodes: &[Inst]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn merge(page: MachineCodePage) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pages` is never read [INFO] [stdout] --> src/jit.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct JIT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 330 | pages: BTreeMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/jit.rs:359:36 [INFO] [stdout] | [INFO] [stdout] 359 | let abort_addr = jit_abort as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 359 | let abort_addr = jit_abort as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/jit.rs:366:34 [INFO] [stdout] | [INFO] [stdout] 366 | let jit_io_addr = jit_io as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 366 | let jit_io_addr = jit_io as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.85s [INFO] running `Command { std: "docker" "inspect" "9aafd01d5c76c57eaca1f53c24622a5017c629cac8b3375f3dcaa381d6b9c39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aafd01d5c76c57eaca1f53c24622a5017c629cac8b3375f3dcaa381d6b9c39d", kill_on_drop: false }` [INFO] [stdout] 9aafd01d5c76c57eaca1f53c24622a5017c629cac8b3375f3dcaa381d6b9c39d