[INFO] cloning repository https://github.com/d14n-ob/matrix-onebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d14n-ob/matrix-onebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd14n-ob%2Fmatrix-onebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd14n-ob%2Fmatrix-onebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b37fa48eea66e93b906ac7e865684fec5434079f [INFO] testing d14n-ob/matrix-onebot against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd14n-ob%2Fmatrix-onebot" "/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/d14n-ob/matrix-onebot [INFO] finished tweaking git repo https://github.com/d14n-ob/matrix-onebot [INFO] tweaked toml for git repo https://github.com/d14n-ob/matrix-onebot written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d14n-ob/matrix-onebot on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d14n-ob/matrix-onebot 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vswhom-sys v0.1.2 [INFO] [stderr] Downloaded embed-resource v2.5.0 [INFO] [stderr] Downloaded walle-macro v0.7.0-a2 [INFO] [stderr] Downloaded walle-core v0.7.4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17f111660d2a005facb5c23d07e4fb58ed998f5d9651b0c7239463ed2acda3ad [INFO] running `Command { std: "docker" "start" "-a" "17f111660d2a005facb5c23d07e4fb58ed998f5d9651b0c7239463ed2acda3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f111660d2a005facb5c23d07e4fb58ed998f5d9651b0c7239463ed2acda3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f111660d2a005facb5c23d07e4fb58ed998f5d9651b0c7239463ed2acda3ad", kill_on_drop: false }` [INFO] [stdout] 17f111660d2a005facb5c23d07e4fb58ed998f5d9651b0c7239463ed2acda3ad [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68af549f2ddc77bf5a4cf250a8314af8e3f9434af6a350f03931ce404784eb10 [INFO] running `Command { std: "docker" "start" "-a" "68af549f2ddc77bf5a4cf250a8314af8e3f9434af6a350f03931ce404784eb10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling js_int v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typewit v1.9.0 [INFO] [stderr] Compiling ruma-common v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling const_panic v0.2.10 [INFO] [stderr] Compiling as_variant v1.2.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling konst_kernel v0.3.9 [INFO] [stderr] Compiling ruma-client-api v0.17.4 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling bitmaps v3.2.1 [INFO] [stderr] Compiling ruma v0.9.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling konst v0.3.9 [INFO] [stderr] Compiling assign v1.1.1 [INFO] [stderr] Compiling matrix-sdk-common v0.7.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling readlock v0.1.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling imbl-sized-chunks v0.1.2 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling matrix-sdk v0.7.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling matrix-onebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mime2ext v0.1.53 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling bytesize v1.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling walle-macro v0.7.0-a2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ruma-identifiers-validation v0.9.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling eyeball v0.8.8 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling js_option v0.1.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling imbl v2.0.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling eyeball-im v0.4.3 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling matrix-sdk-store-encryption v0.7.0 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ruma-macros v0.12.0 [INFO] [stderr] Compiling cfg-vis v0.3.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling walle-core v0.7.4 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ruma-events v0.27.11 [INFO] [stderr] Compiling matrix-sdk-base v0.7.0 [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/onebot/actions/handler.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | async fn get_latest_events(&self, c: GetLatestEvents) -> Result, RespError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TablePrivateCommonOpera` is more private than the item `TableCommonOpera` [INFO] [stdout] --> src/sql/table/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait TableCommonOpera: TablePrivateCommonOpera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `TableCommonOpera` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `TablePrivateCommonOpera` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sql/table/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | trait TablePrivateCommonOpera: TableAssociatedType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `selft` and `get_latest_events` are never used [INFO] [stdout] --> src/onebot/actions/handler.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl MatrixHandler { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 45 | pub async fn selft(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | async fn get_latest_events(&self, c: GetLatestEvents) -> Result, RespError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_table_name` and `get_connection` are never used [INFO] [stdout] --> src/sql/table/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | trait TablePrivateCommonOpera: TableAssociatedType { [INFO] [stdout] | ----------------------- associated items in this trait [INFO] [stdout] 12 | fn get_table_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn get_connection(&self) -> Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/sql/table/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait TableCommonOpera: TablePrivateCommonOpera { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn delete(&self, event_id: &str) -> rusqlite::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: konst v0.3.9 [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" "68af549f2ddc77bf5a4cf250a8314af8e3f9434af6a350f03931ce404784eb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68af549f2ddc77bf5a4cf250a8314af8e3f9434af6a350f03931ce404784eb10", kill_on_drop: false }` [INFO] [stdout] 68af549f2ddc77bf5a4cf250a8314af8e3f9434af6a350f03931ce404784eb10 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 339a325e132d26b7ea333f8f67272984e83fd6e2f893b0d5c2bb349e0c996dee [INFO] running `Command { std: "docker" "start" "-a" "339a325e132d26b7ea333f8f67272984e83fd6e2f893b0d5c2bb349e0c996dee", kill_on_drop: false }` [INFO] [stderr] Compiling matrix-onebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/onebot/actions/handler.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | async fn get_latest_events(&self, c: GetLatestEvents) -> Result, RespError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TablePrivateCommonOpera` is more private than the item `TableCommonOpera` [INFO] [stdout] --> src/sql/table/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait TableCommonOpera: TablePrivateCommonOpera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `TableCommonOpera` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `TablePrivateCommonOpera` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sql/table/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | trait TablePrivateCommonOpera: TableAssociatedType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `selft` and `get_latest_events` are never used [INFO] [stdout] --> src/onebot/actions/handler.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl MatrixHandler { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 45 | pub async fn selft(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | async fn get_latest_events(&self, c: GetLatestEvents) -> Result, RespError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_table_name` and `get_connection` are never used [INFO] [stdout] --> src/sql/table/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | trait TablePrivateCommonOpera: TableAssociatedType { [INFO] [stdout] | ----------------------- associated items in this trait [INFO] [stdout] 12 | fn get_table_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn get_connection(&self) -> Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/sql/table/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait TableCommonOpera: TablePrivateCommonOpera { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn delete(&self, event_id: &str) -> rusqlite::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: konst v0.3.9 [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" "339a325e132d26b7ea333f8f67272984e83fd6e2f893b0d5c2bb349e0c996dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339a325e132d26b7ea333f8f67272984e83fd6e2f893b0d5c2bb349e0c996dee", kill_on_drop: false }` [INFO] [stdout] 339a325e132d26b7ea333f8f67272984e83fd6e2f893b0d5c2bb349e0c996dee [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b277ceb8705efcddd9f4e310f186424b748fd5187732197d7748bee3cb357ff [INFO] running `Command { std: "docker" "start" "-a" "0b277ceb8705efcddd9f4e310f186424b748fd5187732197d7748bee3cb357ff", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/onebot/actions/handler.rs:54:39 [INFO] [stderr] | [INFO] [stderr] 54 | async fn get_latest_events(&self, c: GetLatestEvents) -> Result, RespError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `TablePrivateCommonOpera` is more private than the item `TableCommonOpera` [INFO] [stderr] --> src/sql/table/mod.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub trait TableCommonOpera: TablePrivateCommonOpera { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `TableCommonOpera` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `TablePrivateCommonOpera` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/sql/table/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | trait TablePrivateCommonOpera: TableAssociatedType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `selft` and `get_latest_events` are never used [INFO] [stderr] --> src/onebot/actions/handler.rs:45:18 [INFO] [stderr] | [INFO] [stderr] 44 | impl MatrixHandler { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] 45 | pub async fn selft(&self) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | async fn get_latest_events(&self, c: GetLatestEvents) -> Result, RespError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `get_table_name` and `get_connection` are never used [INFO] [stderr] --> src/sql/table/mod.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 11 | trait TablePrivateCommonOpera: TableAssociatedType { [INFO] [stderr] | ----------------------- associated items in this trait [INFO] [stderr] 12 | fn get_table_name() -> &'static str; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 13 | fn get_connection(&self) -> Arc>; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `delete` is never used [INFO] [stderr] --> src/sql/table/mod.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub trait TableCommonOpera: TablePrivateCommonOpera { [INFO] [stderr] | ---------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 29 | fn delete(&self, event_id: &str) -> rusqlite::Result> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `matrix-onebot` (bin "matrix-onebot" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: konst v0.3.9 [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/main.rs (/opt/rustwide/target/debug/deps/matrix_onebot-ee5014fbc2c70716) [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" "0b277ceb8705efcddd9f4e310f186424b748fd5187732197d7748bee3cb357ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b277ceb8705efcddd9f4e310f186424b748fd5187732197d7748bee3cb357ff", kill_on_drop: false }` [INFO] [stdout] 0b277ceb8705efcddd9f4e310f186424b748fd5187732197d7748bee3cb357ff