[INFO] cloning repository https://github.com/sh1nduu/toy_jvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sh1nduu/toy_jvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh1nduu%2Ftoy_jvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh1nduu%2Ftoy_jvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4086fddab1035939eaa886e145283d3eac99ab34 [INFO] checking sh1nduu/toy_jvm against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh1nduu%2Ftoy_jvm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sh1nduu/toy_jvm [INFO] finished tweaking git repo https://github.com/sh1nduu/toy_jvm [INFO] tweaked toml for git repo https://github.com/sh1nduu/toy_jvm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sh1nduu/toy_jvm on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sh1nduu/toy_jvm 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005fcdcae95c6a6434ca494844f4ca3d2a9d80d56ab545a4248f0d1fbd477bc5 [INFO] running `Command { std: "docker" "start" "-a" "005fcdcae95c6a6434ca494844f4ca3d2a9d80d56ab545a4248f0d1fbd477bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005fcdcae95c6a6434ca494844f4ca3d2a9d80d56ab545a4248f0d1fbd477bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005fcdcae95c6a6434ca494844f4ca3d2a9d80d56ab545a4248f0d1fbd477bc5", kill_on_drop: false }` [INFO] [stdout] 005fcdcae95c6a6434ca494844f4ca3d2a9d80d56ab545a4248f0d1fbd477bc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e92239d36ff5444652bf1075d6dfa0908a784314739656954df639e64d920c3 [INFO] running `Command { std: "docker" "start" "-a" "5e92239d36ff5444652bf1075d6dfa0908a784314739656954df639e64d920c3", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking toy_jvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `flags` and `descriptor` are never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 46 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | name: String, [INFO] [stdout] 48 | descriptor: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 137 | struct Class { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 138 | const_pool: ConstPool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | super_: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 141 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 142 | interfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 144 | methods: Vec, [INFO] [stdout] 145 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn frame(&self, method: String, args: Vec) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn frame(&self, method: String, args: Vec) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags` and `descriptor` are never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 46 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | name: String, [INFO] [stdout] 48 | descriptor: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 137 | struct Class { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 138 | const_pool: ConstPool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | super_: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 141 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 142 | interfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 144 | methods: Vec, [INFO] [stdout] 145 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn frame(&self, method: String, args: Vec) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn frame(&self, method: String, args: Vec) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "5e92239d36ff5444652bf1075d6dfa0908a784314739656954df639e64d920c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e92239d36ff5444652bf1075d6dfa0908a784314739656954df639e64d920c3", kill_on_drop: false }` [INFO] [stdout] 5e92239d36ff5444652bf1075d6dfa0908a784314739656954df639e64d920c3