[INFO] fetching crate poot 0.1.1... [INFO] building poot-0.1.1 against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] extracting crate poot 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate poot 0.1.1 on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate poot 0.1.1 [INFO] finished tweaking crates.io crate poot 0.1.1 [INFO] tweaked toml for crates.io crate poot 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate poot 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.17.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded smallvec v1.8.1 [INFO] [stderr] Downloaded simplesocket v1.0.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97bd45af39c9b5e43a41e07a2ce8043f6b0d6751df5ac0de910f0fb8027f6394 [INFO] running `Command { std: "docker" "start" "-a" "97bd45af39c9b5e43a41e07a2ce8043f6b0d6751df5ac0de910f0fb8027f6394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97bd45af39c9b5e43a41e07a2ce8043f6b0d6751df5ac0de910f0fb8027f6394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bd45af39c9b5e43a41e07a2ce8043f6b0d6751df5ac0de910f0fb8027f6394", kill_on_drop: false }` [INFO] [stdout] 97bd45af39c9b5e43a41e07a2ce8043f6b0d6751df5ac0de910f0fb8027f6394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c655154b97ce9c56549a8ea8bb374129a5cf0ae9bcb44ee7438d0dccebcf2ac9 [INFO] running `Command { std: "docker" "start" "-a" "c655154b97ce9c56549a8ea8bb374129a5cf0ae9bcb44ee7438d0dccebcf2ac9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.20 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling simplesocket v1.0.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling poot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the trait `Events` cannot be made into an object [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Events { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ ...because method `on_post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `on_post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `Events` cannot be made into an object [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Events { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ ...because method `on_ready` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `on_ready` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/subscriptions/general_update.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mod_id`, `reason`, `ban_length`, `issued` and `infraction_type` are never read [INFO] [stdout] --> src/model/client_user.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Infraction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | #[serde(rename = "ModID")] [INFO] [stdout] 14 | mod_id: UserId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ban_length: Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | issued: DateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | infraction_type: InfractionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Infraction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon`, `invite`, `owner`, `last_checked` and `last_content` are never read [INFO] [stdout] --> src/model/group.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 51 | id: GroupId, [INFO] [stdout] | ^^ [INFO] [stdout] 52 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | invite: GroupInviteType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | owner: UserId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | last_checked: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | last_content: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_mentions`, `user` and `created_at` are never read [INFO] [stdout] --> src/model/post.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PostRaw { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub has_mentions: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub user: UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `username` and `roles` are never read [INFO] [stdout] --> src/model/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | id: UserId, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Events::on_post` that must be used [INFO] [stdout] --> src/subscriptions/general_update.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | ctx.events.on_post(ctx.clone(), post); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.48s [INFO] running `Command { std: "docker" "inspect" "c655154b97ce9c56549a8ea8bb374129a5cf0ae9bcb44ee7438d0dccebcf2ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c655154b97ce9c56549a8ea8bb374129a5cf0ae9bcb44ee7438d0dccebcf2ac9", kill_on_drop: false }` [INFO] [stdout] c655154b97ce9c56549a8ea8bb374129a5cf0ae9bcb44ee7438d0dccebcf2ac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2251ace82f0cb9f2bb19f29f94c8a5aad401795e74e1e8ce12db2f309e0cbb3f [INFO] running `Command { std: "docker" "start" "-a" "2251ace82f0cb9f2bb19f29f94c8a5aad401795e74e1e8ce12db2f309e0cbb3f", kill_on_drop: false }` [INFO] [stderr] Compiling poot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the trait `Events` cannot be made into an object [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Events { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ ...because method `on_post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `on_post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `Events` cannot be made into an object [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Events { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ ...because method `on_ready` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `on_ready` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/subscriptions/general_update.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mod_id`, `reason`, `ban_length`, `issued` and `infraction_type` are never read [INFO] [stdout] --> src/model/client_user.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Infraction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | #[serde(rename = "ModID")] [INFO] [stdout] 14 | mod_id: UserId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ban_length: Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | issued: DateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | infraction_type: InfractionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Infraction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon`, `invite`, `owner`, `last_checked` and `last_content` are never read [INFO] [stdout] --> src/model/group.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 51 | id: GroupId, [INFO] [stdout] | ^^ [INFO] [stdout] 52 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | invite: GroupInviteType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | owner: UserId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | last_checked: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | last_content: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_mentions`, `user` and `created_at` are never read [INFO] [stdout] --> src/model/post.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PostRaw { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub has_mentions: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub user: UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `username` and `roles` are never read [INFO] [stdout] --> src/model/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | id: UserId, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Events::on_post` that must be used [INFO] [stdout] --> src/subscriptions/general_update.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | ctx.events.on_post(ctx.clone(), post); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `poot::Events` cannot be made into an object [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `on_post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `poot::Events` cannot be made into an object [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `on_ready` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `Events` cannot be made into an object [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Events { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] 71 | async fn on_post(&self, _context: Arc, _post: Post) { [INFO] [stdout] | ^^^^^^^ ...because method `on_post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `on_post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `Events` cannot be made into an object [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Events { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 74 | async fn on_ready(&self, _context: Arc) { [INFO] [stdout] | ^^^^^^^^ ...because method `on_ready` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `on_ready` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/subscriptions/general_update.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mod_id`, `reason`, `ban_length`, `issued` and `infraction_type` are never read [INFO] [stdout] --> src/model/client_user.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Infraction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | #[serde(rename = "ModID")] [INFO] [stdout] 14 | mod_id: UserId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ban_length: Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | issued: DateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | infraction_type: InfractionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Infraction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `icon`, `invite`, `owner`, `last_checked` and `last_content` are never read [INFO] [stdout] --> src/model/group.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 51 | id: GroupId, [INFO] [stdout] | ^^ [INFO] [stdout] 52 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | invite: GroupInviteType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | owner: UserId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | last_checked: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | last_content: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_mentions`, `user` and `created_at` are never read [INFO] [stdout] --> src/model/post.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PostRaw { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub has_mentions: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub user: UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `username` and `roles` are never read [INFO] [stdout] --> src/model/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | id: UserId, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Events::on_post` that must be used [INFO] [stdout] --> src/subscriptions/general_update.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | ctx.events.on_post(ctx.clone(), post); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.85s [INFO] running `Command { std: "docker" "inspect" "2251ace82f0cb9f2bb19f29f94c8a5aad401795e74e1e8ce12db2f309e0cbb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2251ace82f0cb9f2bb19f29f94c8a5aad401795e74e1e8ce12db2f309e0cbb3f", kill_on_drop: false }` [INFO] [stdout] 2251ace82f0cb9f2bb19f29f94c8a5aad401795e74e1e8ce12db2f309e0cbb3f