[INFO] cloning repository https://github.com/jaemk/rok [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaemk/rok" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f029b49b06b790db1d057dbf43c89b23c139ff42 [INFO] checking jaemk/rok against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaemk/rok on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jaemk/rok [INFO] finished tweaking git repo https://github.com/jaemk/rok [INFO] tweaked toml for git repo https://github.com/jaemk/rok written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jaemk/rok 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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69ad254e2311b84a9b4886fd38a30a5fe78d03521fd9f8ed80ad2a109dbd2c01 [INFO] running `Command { std: "docker" "start" "-a" "69ad254e2311b84a9b4886fd38a30a5fe78d03521fd9f8ed80ad2a109dbd2c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69ad254e2311b84a9b4886fd38a30a5fe78d03521fd9f8ed80ad2a109dbd2c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ad254e2311b84a9b4886fd38a30a5fe78d03521fd9f8ed80ad2a109dbd2c01", kill_on_drop: false }` [INFO] [stdout] 69ad254e2311b84a9b4886fd38a30a5fe78d03521fd9f8ed80ad2a109dbd2c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce017eb2ea51bc1a0cc622cfba0507ea99c908e888e9071c3c0b25637b1de9ae [INFO] running `Command { std: "docker" "start" "-a" "ce017eb2ea51bc1a0cc622cfba0507ea99c908e888e9071c3c0b25637b1de9ae", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking either v1.3.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking itertools v0.7.2 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking rok v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/asm/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/asm/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lang/mod.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_eval(s: &str, scope: &mut Scope) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lang/mod.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_eval(s: &str, scope: &mut Scope) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rt/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut p = &mut self.procs[0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rt/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut p = &mut self.procs[0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/asm/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Operation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/rt/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 96 | procs: Vec, [INFO] [stdout] 97 | code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc` and `cond` are never read [INFO] [stdout] --> src/rt/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Processor { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | cond: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `take_32` and `take_64` are never used [INFO] [stdout] --> src/rt/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Processor { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn take_32(buf: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn take_64(buf: &[u8]) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rt/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut p = &mut self.procs[0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rt/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut p = &mut self.procs[0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/asm/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Operation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/rt/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 96 | procs: Vec, [INFO] [stdout] 97 | code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc` and `cond` are never read [INFO] [stdout] --> src/rt/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Processor { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | cond: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `take_32` and `take_64` are never used [INFO] [stdout] --> src/rt/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Processor { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn take_32(buf: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn take_64(buf: &[u8]) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ce017eb2ea51bc1a0cc622cfba0507ea99c908e888e9071c3c0b25637b1de9ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce017eb2ea51bc1a0cc622cfba0507ea99c908e888e9071c3c0b25637b1de9ae", kill_on_drop: false }` [INFO] [stdout] ce017eb2ea51bc1a0cc622cfba0507ea99c908e888e9071c3c0b25637b1de9ae