[INFO] cloning repository https://github.com/fospring/rust-pro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fospring/rust-pro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffospring%2Frust-pro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffospring%2Frust-pro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b7e8bd985e4974fec9a649cc10c1e0957a98261 [INFO] checking fospring/rust-pro against master#e29821ff85a2a3000d226f99f62f89464028d5d6 for pr-111505 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffospring%2Frust-pro" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fospring/rust-pro on toolchain e29821ff85a2a3000d226f99f62f89464028d5d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fospring/rust-pro [INFO] finished tweaking git repo https://github.com/fospring/rust-pro [INFO] tweaked toml for git repo https://github.com/fospring/rust-pro written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fospring/rust-pro 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" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.9 [INFO] [stderr] Downloaded futures-executor v0.3.9 [INFO] [stderr] Downloaded futures v0.3.9 [INFO] [stderr] Downloaded pin-project-lite v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5770346ca0f6cb82370731b0bfc83cbef23abca2fc6668f27cde199282454512 [INFO] running `Command { std: "docker" "start" "-a" "5770346ca0f6cb82370731b0bfc83cbef23abca2fc6668f27cde199282454512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5770346ca0f6cb82370731b0bfc83cbef23abca2fc6668f27cde199282454512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5770346ca0f6cb82370731b0bfc83cbef23abca2fc6668f27cde199282454512", kill_on_drop: false }` [INFO] [stdout] 5770346ca0f6cb82370731b0bfc83cbef23abca2fc6668f27cde199282454512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c754082e254ecd46327f6f6ad4e6cfae796773fd6dcaef4069a99bf2e77bf7c [INFO] running `Command { std: "docker" "start" "-a" "3c754082e254ecd46327f6f6ad4e6cfae796773fd6dcaef4069a99bf2e77bf7c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.9 [INFO] [stderr] Checking pin-project-lite v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.9 [INFO] [stderr] Checking futures-io v0.3.9 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.9 [INFO] [stderr] Checking futures-task v0.3.9 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.9 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking futures-util v0.3.9 [INFO] [stderr] Checking futures-executor v0.3.9 [INFO] [stderr] Checking futures v0.3.9 [INFO] [stderr] Checking rust-pro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/arc_mvp.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt`, `self` [INFO] [stdout] --> src/future_poll.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::{self, Future, FutureExt}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/future_poll.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/future_poll.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/future_poll.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/trait_obj.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[feature(dyn_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/trait_obj.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[feature(dyn_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arc_mvp.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl MockArc { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 27 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_warp_future` is never used [INFO] [stdout] --> src/future_poll.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl VCContext [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn new_warp_future(future: F) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/pin_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Test { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: *const String, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/pin_data.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Test { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 9 | fn new(txt: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn a(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn b(&self) -> &String { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_traitobj` is never used [INFO] [stdout] --> src/trait_obj.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn print_traitobj(p: &dyn Bird) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/future_poll.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let now = time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pointer_owner_ship.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pointer_owner_ship.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let num = u32::from_ne_bytes(raw_bytes); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.14s [INFO] running `Command { std: "docker" "inspect" "3c754082e254ecd46327f6f6ad4e6cfae796773fd6dcaef4069a99bf2e77bf7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c754082e254ecd46327f6f6ad4e6cfae796773fd6dcaef4069a99bf2e77bf7c", kill_on_drop: false }` [INFO] [stdout] 3c754082e254ecd46327f6f6ad4e6cfae796773fd6dcaef4069a99bf2e77bf7c