[INFO] cloning repository https://github.com/j5ik2o/sandbox-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j5ik2o/sandbox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df47ac15d773a357caf7d93c3cd4319c65b74477 [INFO] checking j5ik2o/sandbox-rs against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j5ik2o/sandbox-rs on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/j5ik2o/sandbox-rs [INFO] finished tweaking git repo https://github.com/j5ik2o/sandbox-rs [INFO] tweaked toml for git repo https://github.com/j5ik2o/sandbox-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/j5ik2o/sandbox-rs 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tailcall v0.1.6 [INFO] [stderr] Downloaded tailcall-impl v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8b6357c8a4594fa65b74c53c6cae917e6aa48a1b7c2f9f6f3662c938df99c53 [INFO] running `Command { std: "docker" "start" "-a" "a8b6357c8a4594fa65b74c53c6cae917e6aa48a1b7c2f9f6f3662c938df99c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b6357c8a4594fa65b74c53c6cae917e6aa48a1b7c2f9f6f3662c938df99c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b6357c8a4594fa65b74c53c6cae917e6aa48a1b7c2f9f6f3662c938df99c53", kill_on_drop: false }` [INFO] [stdout] a8b6357c8a4594fa65b74c53c6cae917e6aa48a1b7c2f9f6f3662c938df99c53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 507d0290f750430fbed6ad517c50bdd27b7575733aa29dac16863628548007aa [INFO] running `Command { std: "docker" "start" "-a" "507d0290f750430fbed6ad517c50bdd27b7575733aa29dac16863628548007aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tailcall-impl v0.1.6 [INFO] [stderr] Checking tailcall v0.1.6 [INFO] [stderr] Checking sandbox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Value` is never constructed [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Value(i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main1` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn main1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/address_book.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 4 | impl AddressEntryId { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 5 | pub(crate) fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `USD` and `JPY` are never constructed [INFO] [stdout] --> src/currency.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Currency { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | USD, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | JPY, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Currency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/thread.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Member { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | id: MemberId, [INFO] [stdout] 41 | name: MemberName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/thread.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct MessageText(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MessageText` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/thread.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | text: MessageText, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/thread.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Thread { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 99 | id: ThreadId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thread` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/user_names.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct UserName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UserName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Value` is never constructed [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Value(i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main1` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn main1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `USD` and `JPY` are never constructed [INFO] [stdout] --> src/currency.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Currency { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | USD, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | JPY, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Currency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/thread.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Member { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | id: MemberId, [INFO] [stdout] 41 | name: MemberName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/thread.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct MessageText(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MessageText` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/thread.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | text: MessageText, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/thread.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Thread { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 99 | id: ThreadId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thread` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/user_names.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct UserName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UserName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.42s [INFO] running `Command { std: "docker" "inspect" "507d0290f750430fbed6ad517c50bdd27b7575733aa29dac16863628548007aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507d0290f750430fbed6ad517c50bdd27b7575733aa29dac16863628548007aa", kill_on_drop: false }` [INFO] [stdout] 507d0290f750430fbed6ad517c50bdd27b7575733aa29dac16863628548007aa