[INFO] cloning repository https://github.com/pyar6329/trait-variant-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pyar6329/trait-variant-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyar6329%2Ftrait-variant-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyar6329%2Ftrait-variant-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb513b58e976abd29a7e70357f33848128e57bc2 [INFO] testing pyar6329/trait-variant-sample against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyar6329%2Ftrait-variant-sample" "/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/pyar6329/trait-variant-sample [INFO] finished tweaking git repo https://github.com/pyar6329/trait-variant-sample [INFO] tweaked toml for git repo https://github.com/pyar6329/trait-variant-sample written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pyar6329/trait-variant-sample on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pyar6329/trait-variant-sample 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-redis v0.15.1 [INFO] [stderr] Downloaded redis-test v0.4.0 [INFO] [stderr] Downloaded deadpool v0.12.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a9a682b7f4b248f85a1dfab3eb1d078c6013a459369a6fa4f8a4a00c38f0d0a [INFO] running `Command { std: "docker" "start" "-a" "3a9a682b7f4b248f85a1dfab3eb1d078c6013a459369a6fa4f8a4a00c38f0d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a9a682b7f4b248f85a1dfab3eb1d078c6013a459369a6fa4f8a4a00c38f0d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9a682b7f4b248f85a1dfab3eb1d078c6013a459369a6fa4f8a4a00c38f0d0a", kill_on_drop: false }` [INFO] [stdout] 3a9a682b7f4b248f85a1dfab3eb1d078c6013a459369a6fa4f8a4a00c38f0d0a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e43cd4c903ed10d29614cb789c64840679de48f8e6d644f575f22ba8861a9dd9 [INFO] running `Command { std: "docker" "start" "-a" "e43cd4c903ed10d29614cb789c64840679de48f8e6d644f575f22ba8861a9dd9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling deadpool v0.12.1 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling deadpool-redis v0.15.1 [INFO] [stderr] Compiling trait-variant-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cmd as RedisCmd`, `ErrorKind as RedisErrorKind`, `RedisError`, `SetExpiry`, and `SetOptions` [INFO] [stdout] --> src/infra.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Cmd as RedisCmd, ErrorKind as RedisErrorKind, FromRedisValue, RedisError, RedisResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | SetExpiry, SetOptions, Value as RedisValue, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/infra.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infra/query.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | id: &GetContactByUserIdKey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/infra/query.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut conn = conn_repo.get_conn(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infra/query.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut conn = conn_repo.get_conn(); [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: unused import: `str::FromStr` [INFO] [stdout] --> src/infra.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/infra.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "e43cd4c903ed10d29614cb789c64840679de48f8e6d644f575f22ba8861a9dd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e43cd4c903ed10d29614cb789c64840679de48f8e6d644f575f22ba8861a9dd9", kill_on_drop: false }` [INFO] [stdout] e43cd4c903ed10d29614cb789c64840679de48f8e6d644f575f22ba8861a9dd9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b425ae450a01aff5a50fd38fc60ce4197c6553f26a98270e84228e86091f71d1 [INFO] running `Command { std: "docker" "start" "-a" "b425ae450a01aff5a50fd38fc60ce4197c6553f26a98270e84228e86091f71d1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling deadpool-redis v0.15.1 [INFO] [stderr] Compiling redis-test v0.4.0 [INFO] [stderr] Compiling trait-variant-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cmd as RedisCmd`, `ErrorKind as RedisErrorKind`, `RedisError`, `SetExpiry`, and `SetOptions` [INFO] [stdout] --> src/infra.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Cmd as RedisCmd, ErrorKind as RedisErrorKind, FromRedisValue, RedisError, RedisResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | SetExpiry, SetOptions, Value as RedisValue, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/infra.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infra/query.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | id: &GetContactByUserIdKey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/infra/query.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut conn = conn_repo.get_conn(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infra/query.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut conn = conn_repo.get_conn(); [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: unused import: `str::FromStr` [INFO] [stdout] --> src/infra.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/infra.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cmd as RedisCmd`, `ErrorKind as RedisErrorKind`, `RedisError`, `SetExpiry`, and `SetOptions` [INFO] [stdout] --> src/infra.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Cmd as RedisCmd, ErrorKind as RedisErrorKind, FromRedisValue, RedisError, RedisResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | SetExpiry, SetOptions, Value as RedisValue, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/infra.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `str::FromStr` [INFO] [stdout] --> src/infra.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infra/query.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | id: &GetContactByUserIdKey, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/infra/query.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut conn = conn_repo.get_conn(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infra/query.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut conn = conn_repo.get_conn(); [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4 [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" "b425ae450a01aff5a50fd38fc60ce4197c6553f26a98270e84228e86091f71d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b425ae450a01aff5a50fd38fc60ce4197c6553f26a98270e84228e86091f71d1", kill_on_drop: false }` [INFO] [stdout] b425ae450a01aff5a50fd38fc60ce4197c6553f26a98270e84228e86091f71d1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c6eac25691ad9ba290b7bee3160eaae09eb602707bc15790a0008d543698f6c [INFO] running `Command { std: "docker" "start" "-a" "9c6eac25691ad9ba290b7bee3160eaae09eb602707bc15790a0008d543698f6c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Cmd as RedisCmd`, `ErrorKind as RedisErrorKind`, `RedisError`, `SetExpiry`, and `SetOptions` [INFO] [stderr] --> src/infra.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | Cmd as RedisCmd, ErrorKind as RedisErrorKind, FromRedisValue, RedisError, RedisResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 18 | SetExpiry, SetOptions, Value as RedisValue, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `fmt` [INFO] [stderr] --> src/infra.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infra/query.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | id: &GetContactByUserIdKey, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/infra/query.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | let mut conn = conn_repo.get_conn(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/infra/query.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let mut conn = conn_repo.get_conn(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `str::FromStr` [INFO] [stderr] --> src/infra.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> src/infra.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `fmt` and `str::FromStr` [INFO] [stderr] --> src/infra.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | use std::{fmt, ops::Deref, str::FromStr}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trait-variant-sample` (lib) generated 7 warnings (run `cargo fix --lib -p trait-variant-sample` to apply 3 suggestions) [INFO] [stderr] warning: `trait-variant-sample` (lib test) generated 6 warnings (5 duplicates) (run `cargo fix --lib -p trait-variant-sample --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trait_variant_sample-083596c11338cda5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trait_variant_sample-c222664819b6dfc3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests trait_variant_sample [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c6eac25691ad9ba290b7bee3160eaae09eb602707bc15790a0008d543698f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c6eac25691ad9ba290b7bee3160eaae09eb602707bc15790a0008d543698f6c", kill_on_drop: false }` [INFO] [stdout] 9c6eac25691ad9ba290b7bee3160eaae09eb602707bc15790a0008d543698f6c