[INFO] cloning repository https://github.com/eszlamczyk/rustpiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eszlamczyk/rustpiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feszlamczyk%2Frustpiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feszlamczyk%2Frustpiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b50a1cfa6d6846ea7e2d6ca5955cf674a14684d5 [INFO] checking eszlamczyk/rustpiler against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feszlamczyk%2Frustpiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eszlamczyk/rustpiler [INFO] finished tweaking git repo https://github.com/eszlamczyk/rustpiler [INFO] tweaked toml for git repo https://github.com/eszlamczyk/rustpiler written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eszlamczyk/rustpiler on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eszlamczyk/rustpiler 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62474dc367ed7715ca0159af2e4e75d897b304999a36fb857e28d8562a2a905b [INFO] running `Command { std: "docker" "start" "-a" "62474dc367ed7715ca0159af2e4e75d897b304999a36fb857e28d8562a2a905b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62474dc367ed7715ca0159af2e4e75d897b304999a36fb857e28d8562a2a905b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62474dc367ed7715ca0159af2e4e75d897b304999a36fb857e28d8562a2a905b", kill_on_drop: false }` [INFO] [stdout] 62474dc367ed7715ca0159af2e4e75d897b304999a36fb857e28d8562a2a905b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58ac838f9b62d78ebcd53c1d54b6a137de442ab46a802412167477dd67ad8cac [INFO] running `Command { std: "docker" "start" "-a" "58ac838f9b62d78ebcd53c1d54b6a137de442ab46a802412167477dd67ad8cac", kill_on_drop: false }` [INFO] [stderr] Checking rustpiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `add_function_prefix` is never used [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn add_function_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn inc(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dec` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn dec(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neg` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn neg(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imul` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn imul(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idiv` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn idiv(source: &String, size: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sal` is never used [INFO] [stdout] --> src/instructions/shifting.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sal(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shl` is never used [INFO] [stdout] --> src/instructions/shifting.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn shl(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sar` is never used [INFO] [stdout] --> src/instructions/shifting.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn sar(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shr` is never used [INFO] [stdout] --> src/instructions/shifting.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn shr(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn and(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn or(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn xor(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn not(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push` is never used [INFO] [stdout] --> src/instructions/stack_operations.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn push(source: &String) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pop` is never used [INFO] [stdout] --> src/instructions/stack_operations.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn pop(destination: &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_function_prefix` is never used [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn add_function_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn inc(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dec` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn dec(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neg` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn neg(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imul` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn imul(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idiv` is never used [INFO] [stdout] --> src/instructions/arithmetic.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn idiv(source: &String, size: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sal` is never used [INFO] [stdout] --> src/instructions/shifting.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sal(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shl` is never used [INFO] [stdout] --> src/instructions/shifting.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn shl(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sar` is never used [INFO] [stdout] --> src/instructions/shifting.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn sar(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shr` is never used [INFO] [stdout] --> src/instructions/shifting.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn shr(destination: &String, value: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn and(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn or(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn xor(source: &String, destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not` is never used [INFO] [stdout] --> src/instructions/bitwise.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn not(destination: &String, size: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push` is never used [INFO] [stdout] --> src/instructions/stack_operations.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn push(source: &String) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pop` is never used [INFO] [stdout] --> src/instructions/stack_operations.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn pop(destination: &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "58ac838f9b62d78ebcd53c1d54b6a137de442ab46a802412167477dd67ad8cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ac838f9b62d78ebcd53c1d54b6a137de442ab46a802412167477dd67ad8cac", kill_on_drop: false }` [INFO] [stdout] 58ac838f9b62d78ebcd53c1d54b6a137de442ab46a802412167477dd67ad8cac