[INFO] cloning repository https://github.com/ralvescosta/diesel_postgres [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ralvescosta/diesel_postgres" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76c8cc411f5b5855978ad27fb3525466c04417db [INFO] checking ralvescosta/diesel_postgres against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres" "/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/ralvescosta/diesel_postgres on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ralvescosta/diesel_postgres [INFO] finished tweaking git repo https://github.com/ralvescosta/diesel_postgres [INFO] tweaked toml for git repo https://github.com/ralvescosta/diesel_postgres written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ralvescosta/diesel_postgres 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.4.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.2 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.5 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded fragile v1.0.0 [INFO] [stderr] Downloaded mockall v0.10.2 [INFO] [stderr] Downloaded mockall_derive v0.10.2 [INFO] [stderr] Downloaded postgres-types v0.2.1 [INFO] [stderr] Downloaded postgres v0.19.1 [INFO] [stderr] Downloaded r2d2 v0.8.9 [INFO] [stderr] Downloaded diesel v1.4.7 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c9546579189a81dd90e622ea4bd9db66ecdf56f291866424a17b0e178cfaaa8 [INFO] running `Command { std: "docker" "start" "-a" "8c9546579189a81dd90e622ea4bd9db66ecdf56f291866424a17b0e178cfaaa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c9546579189a81dd90e622ea4bd9db66ecdf56f291866424a17b0e178cfaaa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c9546579189a81dd90e622ea4bd9db66ecdf56f291866424a17b0e178cfaaa8", kill_on_drop: false }` [INFO] [stdout] 8c9546579189a81dd90e622ea4bd9db66ecdf56f291866424a17b0e178cfaaa8 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f4cc95c547361230cfecbbb4e74a5fd7b0c7efc2d9d23634134736c76d8fd76 [INFO] running `Command { std: "docker" "start" "-a" "7f4cc95c547361230cfecbbb4e74a5fd7b0c7efc2d9d23634134736c76d8fd76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Checking postgres v0.19.1 [INFO] [stderr] Checking diesel_postgre v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_post(pool: &r2d2::Pool>, id: i32) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn delete_post(pool: &r2d2::Pool>, target: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn runtime() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/mock_all.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MyTrait { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body` and `published` are never read [INFO] [stdout] --> src/models.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub published: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_post(pool: &r2d2::Pool>, id: i32) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn delete_post(pool: &r2d2::Pool>, target: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn runtime() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/mock_all.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct MyStruct; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.24s [INFO] running `Command { std: "docker" "inspect" "7f4cc95c547361230cfecbbb4e74a5fd7b0c7efc2d9d23634134736c76d8fd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f4cc95c547361230cfecbbb4e74a5fd7b0c7efc2d9d23634134736c76d8fd76", kill_on_drop: false }` [INFO] [stdout] 7f4cc95c547361230cfecbbb4e74a5fd7b0c7efc2d9d23634134736c76d8fd76 [INFO] checking ralvescosta/diesel_postgres against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ralvescosta/diesel_postgres on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ralvescosta/diesel_postgres [INFO] finished tweaking git repo https://github.com/ralvescosta/diesel_postgres [INFO] tweaked toml for git repo https://github.com/ralvescosta/diesel_postgres written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ralvescosta/diesel_postgres 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04cf30b76f4d9f5ed6463b75fc998bda16c67665e991159204cde25395946c49 [INFO] running `Command { std: "docker" "start" "-a" "04cf30b76f4d9f5ed6463b75fc998bda16c67665e991159204cde25395946c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04cf30b76f4d9f5ed6463b75fc998bda16c67665e991159204cde25395946c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cf30b76f4d9f5ed6463b75fc998bda16c67665e991159204cde25395946c49", kill_on_drop: false }` [INFO] [stdout] 04cf30b76f4d9f5ed6463b75fc998bda16c67665e991159204cde25395946c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4554f03124f8eae3c7fc043348b804a88cf641e1985a09cf0dc4babab89aee2c [INFO] running `Command { std: "docker" "start" "-a" "4554f03124f8eae3c7fc043348b804a88cf641e1985a09cf0dc4babab89aee2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Checking postgres v0.19.1 [INFO] [stderr] Checking diesel_postgre v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_post(pool: &r2d2::Pool>, id: i32) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn delete_post(pool: &r2d2::Pool>, target: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn runtime() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/mock_all.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MyTrait { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body` and `published` are never read [INFO] [stdout] --> src/models.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub published: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn update_post(pool: &r2d2::Pool>, id: i32) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_post` is never used [INFO] [stdout] --> src/diesel_r2d2.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn delete_post(pool: &r2d2::Pool>, target: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn runtime() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_pool() -> r2d2::Pool> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn get_posts(pool: &r2d2::Pool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/diesel_r2d2_tokio.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn create_post<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/mock_all.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct MyStruct; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.92s [INFO] running `Command { std: "docker" "inspect" "4554f03124f8eae3c7fc043348b804a88cf641e1985a09cf0dc4babab89aee2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4554f03124f8eae3c7fc043348b804a88cf641e1985a09cf0dc4babab89aee2c", kill_on_drop: false }` [INFO] [stdout] 4554f03124f8eae3c7fc043348b804a88cf641e1985a09cf0dc4babab89aee2c