[INFO] cloning repository https://github.com/nilern/BFG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilern/BFG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilern%2FBFG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilern%2FBFG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 768fda7e741ef0c3cb70a7f5787a675178cb60e3 [INFO] checking nilern/BFG against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilern%2FBFG" "/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/nilern/BFG on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilern/BFG [INFO] finished tweaking git repo https://github.com/nilern/BFG [INFO] tweaked toml for git repo https://github.com/nilern/BFG written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/nilern/BFG already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v6.0.0 [INFO] [stderr] Downloaded dynasmrt v0.6.0 [INFO] [stderr] Downloaded dynasm v0.6.0 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52030747fa9a1ce73914a43a5a1357c919aa46c54f54ef85842d741e21247a8d [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" "52030747fa9a1ce73914a43a5a1357c919aa46c54f54ef85842d741e21247a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52030747fa9a1ce73914a43a5a1357c919aa46c54f54ef85842d741e21247a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52030747fa9a1ce73914a43a5a1357c919aa46c54f54ef85842d741e21247a8d", kill_on_drop: false }` [INFO] [stdout] 52030747fa9a1ce73914a43a5a1357c919aa46c54f54ef85842d741e21247a8d [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=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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 183f17dc803238a0c4bb6ecb82edca4dc3f3b958486b83fb0e20eb66847d1b4a [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" "183f17dc803238a0c4bb6ecb82edca4dc3f3b958486b83fb0e20eb66847d1b4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking dynasmrt v0.6.0 [INFO] [stderr] Checking docopt v0.7.0 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Compiling dynasm v0.6.0 [INFO] [stderr] Checking bfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(RustcDecodable, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(RustcDecodable, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | ; mov rax, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | ; mov f, QWORD libc::putchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::putchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:322:24 [INFO] [stdout] | [INFO] [stdout] 322 | ; mov f, QWORD libc::getchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::getchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/aot.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | ; mov f, QWORD libc::putchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::putchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/aot.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | ; mov f, QWORD libc::getchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::getchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bfs` [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: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | ; mov rax, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | ; mov f, QWORD libc::putchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::putchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:322:24 [INFO] [stdout] | [INFO] [stdout] 322 | ; mov f, QWORD libc::getchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::getchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/bytecode.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | ; mov rdi, QWORD jump_table.as_ptr() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `jump_table.as_ptr() as usize as i64` [INFO] [stdout] ... [INFO] [stdout] 253 | / dynasm!(ops [INFO] [stdout] 254 | | // Set up stack frame and save callee-save registers: [INFO] [stdout] 255 | | ; push rbp [INFO] [stdout] 256 | | ; mov rbp, rsp [INFO] [stdout] ... | [INFO] [stdout] 334 | | ; ret [INFO] [stdout] 335 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/aot.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | ; mov f, QWORD libc::putchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::putchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/aot.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | ; mov f, QWORD libc::getchar as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `libc::getchar as usize as i64` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "183f17dc803238a0c4bb6ecb82edca4dc3f3b958486b83fb0e20eb66847d1b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183f17dc803238a0c4bb6ecb82edca4dc3f3b958486b83fb0e20eb66847d1b4a", kill_on_drop: false }` [INFO] [stdout] 183f17dc803238a0c4bb6ecb82edca4dc3f3b958486b83fb0e20eb66847d1b4a