[INFO] cloning repository https://github.com/JakubStiburek/pep-msg-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JakubStiburek/pep-msg-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakubStiburek%2Fpep-msg-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakubStiburek%2Fpep-msg-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c701fbb7eff6f4ea575d19a46683c2c42cabc36b [INFO] testing JakubStiburek/pep-msg-api against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakubStiburek%2Fpep-msg-api" "/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/JakubStiburek/pep-msg-api on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JakubStiburek/pep-msg-api [INFO] finished tweaking git repo https://github.com/JakubStiburek/pep-msg-api [INFO] tweaked toml for git repo https://github.com/JakubStiburek/pep-msg-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JakubStiburek/pep-msg-api 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.10.1 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded env_logger v0.11.0 [INFO] [stderr] Downloaded uuid v1.6.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] [stderr] Downloaded serde_json v1.0.110 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91cc44c81a0e5c3c9ebc7d3d6fbf28155ef7670ea4f4c7fe43db7ec3333533c [INFO] running `Command { std: "docker" "start" "-a" "f91cc44c81a0e5c3c9ebc7d3d6fbf28155ef7670ea4f4c7fe43db7ec3333533c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91cc44c81a0e5c3c9ebc7d3d6fbf28155ef7670ea4f4c7fe43db7ec3333533c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91cc44c81a0e5c3c9ebc7d3d6fbf28155ef7670ea4f4c7fe43db7ec3333533c", kill_on_drop: false }` [INFO] [stdout] f91cc44c81a0e5c3c9ebc7d3d6fbf28155ef7670ea4f4c7fe43db7ec3333533c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d16534f2f1aafcb0c6c08a9feace69425884e9d1e9402db206f4df68c0e2670 [INFO] running `Command { std: "docker" "start" "-a" "6d16534f2f1aafcb0c6c08a9feace69425884e9d1e9402db206f4df68c0e2670", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling strsim v0.10.1 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling env_logger v0.11.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling bson v2.8.1 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.8.0 [INFO] [stderr] Compiling actix-http v3.5.1 [INFO] [stderr] Compiling actix-web v4.4.1 [INFO] [stderr] Compiling pep-msg-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | Unhandled(GenericError), [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Unhandled(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Write(DatabaseWriteError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Update(GenericError), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Update(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | UserNotFound(UserNotFoundError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | UserNotFound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `message` are never read [INFO] [stdout] --> src/components/users/domain/error/user_not_found_error.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UserNotFoundError { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | pub id: UserId, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/components/users/infrastructure/mongo/user_repository.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UserRepository<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 11 | pub client: &'a web::Data, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/shared/error/generic.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct GenericError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 3 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenericError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/shared/error/database_write_error.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DatabaseWriteError { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 3 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseWriteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "6d16534f2f1aafcb0c6c08a9feace69425884e9d1e9402db206f4df68c0e2670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d16534f2f1aafcb0c6c08a9feace69425884e9d1e9402db206f4df68c0e2670", kill_on_drop: false }` [INFO] [stdout] 6d16534f2f1aafcb0c6c08a9feace69425884e9d1e9402db206f4df68c0e2670 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be17b70f2780b7e6d1664704181781a1e1fa33b4e8ae6674a26cd6d845904a7 [INFO] running `Command { std: "docker" "start" "-a" "5be17b70f2780b7e6d1664704181781a1e1fa33b4e8ae6674a26cd6d845904a7", kill_on_drop: false }` [INFO] [stderr] Compiling pep-msg-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | Unhandled(GenericError), [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Unhandled(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Write(DatabaseWriteError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Update(GenericError), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Update(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/users/domain/error/database_error.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | UserNotFound(UserNotFoundError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | UserNotFound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `message` are never read [INFO] [stdout] --> src/components/users/domain/error/user_not_found_error.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UserNotFoundError { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | pub id: UserId, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/components/users/infrastructure/mongo/user_repository.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UserRepository<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 11 | pub client: &'a web::Data, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/shared/error/generic.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct GenericError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 3 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenericError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/shared/error/database_write_error.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DatabaseWriteError { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 3 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseWriteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "5be17b70f2780b7e6d1664704181781a1e1fa33b4e8ae6674a26cd6d845904a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be17b70f2780b7e6d1664704181781a1e1fa33b4e8ae6674a26cd6d845904a7", kill_on_drop: false }` [INFO] [stdout] 5be17b70f2780b7e6d1664704181781a1e1fa33b4e8ae6674a26cd6d845904a7 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c728353383b1edd5bd8c5c18244729bd1c4ed3ed805e72cee38956d21dbbd35 [INFO] running `Command { std: "docker" "start" "-a" "1c728353383b1edd5bd8c5c18244729bd1c4ed3ed805e72cee38956d21dbbd35", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/users/domain/error/database_error.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | Unhandled(GenericError), [INFO] [stderr] | --------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 5 | Unhandled(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/users/domain/error/database_error.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | Write(DatabaseWriteError), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 6 | Write(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/users/domain/error/database_error.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | Update(GenericError), [INFO] [stderr] | ------ ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 | Update(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/users/domain/error/database_error.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | UserNotFound(UserNotFoundError), [INFO] [stderr] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 | UserNotFound(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `message` are never read [INFO] [stderr] --> src/components/users/domain/error/user_not_found_error.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct UserNotFoundError { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 4 | pub id: UserId, [INFO] [stderr] | ^^ [INFO] [stderr] 5 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/components/users/infrastructure/mongo/user_repository.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct UserRepository<'a> { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 11 | pub client: &'a web::Data, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> src/shared/error/generic.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct GenericError { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 3 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GenericError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> src/shared/error/database_write_error.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct DatabaseWriteError { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 3 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DatabaseWriteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `pep-msg-api` (bin "pep-msg-api" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pep_msg_api-04bcf7611d613462) [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" "1c728353383b1edd5bd8c5c18244729bd1c4ed3ed805e72cee38956d21dbbd35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c728353383b1edd5bd8c5c18244729bd1c4ed3ed805e72cee38956d21dbbd35", kill_on_drop: false }` [INFO] [stdout] 1c728353383b1edd5bd8c5c18244729bd1c4ed3ed805e72cee38956d21dbbd35