[INFO] cloning repository https://github.com/ruidanwang/rust-webapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruidanwang/rust-webapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruidanwang%2Frust-webapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruidanwang%2Frust-webapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2e564403adbae8755b303025ac62610a2f61f0f [INFO] testing ruidanwang/rust-webapp against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruidanwang%2Frust-webapp" "/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/ruidanwang/rust-webapp [INFO] finished tweaking git repo https://github.com/ruidanwang/rust-webapp [INFO] tweaked toml for git repo https://github.com/ruidanwang/rust-webapp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ruidanwang/rust-webapp on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ruidanwang/rust-webapp 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.futures-util.futures [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range-header v0.4.1 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded validator_derive v0.18.1 [INFO] [stderr] Downloaded bb8-redis v0.15.0 [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded bb8 v0.8.5 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded deadpool-sync v0.1.4 [INFO] [stderr] Downloaded dsl_auto_type v0.1.1 [INFO] [stderr] Downloaded jobserver v0.1.31 [INFO] [stderr] Downloaded deadpool v0.12.1 [INFO] [stderr] Downloaded metrics v0.23.0 [INFO] [stderr] Downloaded diesel_derives v2.2.1 [INFO] [stderr] Downloaded async-compression v0.4.11 [INFO] [stderr] Downloaded toml_edit v0.22.15 [INFO] [stderr] Downloaded axum v0.7.5 [INFO] [stderr] Downloaded raw-cpuid v11.0.2 [INFO] [stderr] Downloaded flate2 v1.0.30 [INFO] [stderr] Downloaded winnow v0.6.13 [INFO] [stderr] Downloaded iri-string v0.7.2 [INFO] [stderr] Downloaded metrics-util v0.17.0 [INFO] [stderr] Downloaded quanta v0.12.3 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded toml v0.8.14 [INFO] [stderr] Downloaded zstd v0.13.1 [INFO] [stderr] Downloaded diesel v2.2.1 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.15.1 [INFO] [stderr] Downloaded zstd-safe v7.1.0 [INFO] [stderr] Downloaded serde_spanned v0.6.6 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded tokio-diesel v0.3.0 [INFO] [stderr] Downloaded deadpool-diesel v0.6.1 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded uuid v1.9.1 [INFO] [stderr] Downloaded zstd-sys v2.0.11+zstd.1.5.6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d6dd4e45eb609dab27e6cb6f2fcf49a333c5e889b46e05e279f73f778fb37bc [INFO] running `Command { std: "docker" "start" "-a" "4d6dd4e45eb609dab27e6cb6f2fcf49a333c5e889b46e05e279f73f778fb37bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d6dd4e45eb609dab27e6cb6f2fcf49a333c5e889b46e05e279f73f778fb37bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6dd4e45eb609dab27e6cb6f2fcf49a333c5e889b46e05e279f73f778fb37bc", kill_on_drop: false }` [INFO] [stdout] 4d6dd4e45eb609dab27e6cb6f2fcf49a333c5e889b46e05e279f73f778fb37bc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38a76758582b1e59decaa32515afb1bbc38af3843de2b70dfe72bef0428c5138 [INFO] running `Command { std: "docker" "start" "-a" "38a76758582b1e59decaa32515afb1bbc38af3843de2b70dfe72bef0428c5138", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.futures-util.futures [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling raw-cpuid v11.0.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling metrics v0.23.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling iri-string v0.7.2 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling metrics-util v0.17.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.15.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling async-compression v0.4.11 [INFO] [stderr] Compiling bb8 v0.8.5 [INFO] [stderr] Compiling deadpool v0.12.1 [INFO] [stderr] Compiling deadpool-sync v0.1.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling dsl_auto_type v0.1.1 [INFO] [stderr] Compiling toml_edit v0.22.15 [INFO] [stderr] Compiling diesel_derives v2.2.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tokio-diesel v0.3.0 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling diesel v2.2.1 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling bb8-redis v0.15.0 [INFO] [stderr] Compiling diesel_migrations v2.2.0 [INFO] [stderr] Compiling deadpool-diesel v0.6.1 [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Channels` is more private than the item `sse_handler` [INFO] [stdout] --> src/notifications/sse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn sse_handler( [INFO] [stdout] 11 | | State(state): State, [INFO] [stdout] 12 | | Path(user_id): Path [INFO] [stdout] 13 | | ) -> Sse>> { [INFO] [stdout] | |_______________________________________________________^ function `sse_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `ws_handler` [INFO] [stdout] --> src/notifications/ws.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn ws_handler( [INFO] [stdout] 11 | | ws: WebSocketUpgrade, [INFO] [stdout] 12 | | ConnectInfo(addr): ConnectInfo, [INFO] [stdout] 13 | | State(state): State, [INFO] [stdout] 14 | | Path(user_id): Path [INFO] [stdout] 15 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `ws_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `send_notification_handler` [INFO] [stdout] --> src/notifications/ws.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn send_notification_handler( [INFO] [stdout] 21 | | State(state): State, [INFO] [stdout] 22 | | Path(user_id): Path, [INFO] [stdout] 23 | | Json(payload): Json [INFO] [stdout] 24 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NotificationMessage` is more private than the item `send_notification_handler` [INFO] [stdout] --> src/notifications/ws.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn send_notification_handler( [INFO] [stdout] 21 | | State(state): State, [INFO] [stdout] 22 | | Path(user_id): Path, [INFO] [stdout] 23 | | Json(payload): Json [INFO] [stdout] 24 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `NotificationMessage` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct NotificationMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `handle_socket` [INFO] [stdout] --> src/notifications/websockets.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handle_socket(mut socket: WebSocket, who: SocketAddr, state: Channels, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_socket` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "38a76758582b1e59decaa32515afb1bbc38af3843de2b70dfe72bef0428c5138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a76758582b1e59decaa32515afb1bbc38af3843de2b70dfe72bef0428c5138", kill_on_drop: false }` [INFO] [stdout] 38a76758582b1e59decaa32515afb1bbc38af3843de2b70dfe72bef0428c5138 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d308d77e598b328512e86449765c16a93e598b2a5e665fd19d988d0a036b096 [INFO] running `Command { std: "docker" "start" "-a" "9d308d77e598b328512e86449765c16a93e598b2a5e665fd19d988d0a036b096", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.futures-util.futures [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Channels` is more private than the item `sse_handler` [INFO] [stdout] --> src/notifications/sse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn sse_handler( [INFO] [stdout] 11 | | State(state): State, [INFO] [stdout] 12 | | Path(user_id): Path [INFO] [stdout] 13 | | ) -> Sse>> { [INFO] [stdout] | |_______________________________________________________^ function `sse_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `ws_handler` [INFO] [stdout] --> src/notifications/ws.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn ws_handler( [INFO] [stdout] 11 | | ws: WebSocketUpgrade, [INFO] [stdout] 12 | | ConnectInfo(addr): ConnectInfo, [INFO] [stdout] 13 | | State(state): State, [INFO] [stdout] 14 | | Path(user_id): Path [INFO] [stdout] 15 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `ws_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `send_notification_handler` [INFO] [stdout] --> src/notifications/ws.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn send_notification_handler( [INFO] [stdout] 21 | | State(state): State, [INFO] [stdout] 22 | | Path(user_id): Path, [INFO] [stdout] 23 | | Json(payload): Json [INFO] [stdout] 24 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NotificationMessage` is more private than the item `send_notification_handler` [INFO] [stdout] --> src/notifications/ws.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn send_notification_handler( [INFO] [stdout] 21 | | State(state): State, [INFO] [stdout] 22 | | Path(user_id): Path, [INFO] [stdout] 23 | | Json(payload): Json [INFO] [stdout] 24 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `NotificationMessage` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct NotificationMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `handle_socket` [INFO] [stdout] --> src/notifications/websockets.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handle_socket(mut socket: WebSocket, who: SocketAddr, state: Channels, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_socket` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `sse_handler` [INFO] [stdout] --> src/notifications/sse.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn sse_handler( [INFO] [stdout] 11 | | State(state): State, [INFO] [stdout] 12 | | Path(user_id): Path [INFO] [stdout] 13 | | ) -> Sse>> { [INFO] [stdout] | |_______________________________________________________^ function `sse_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `ws_handler` [INFO] [stdout] --> src/notifications/ws.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn ws_handler( [INFO] [stdout] 11 | | ws: WebSocketUpgrade, [INFO] [stdout] 12 | | ConnectInfo(addr): ConnectInfo, [INFO] [stdout] 13 | | State(state): State, [INFO] [stdout] 14 | | Path(user_id): Path [INFO] [stdout] 15 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `ws_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `send_notification_handler` [INFO] [stdout] --> src/notifications/ws.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn send_notification_handler( [INFO] [stdout] 21 | | State(state): State, [INFO] [stdout] 22 | | Path(user_id): Path, [INFO] [stdout] 23 | | Json(payload): Json [INFO] [stdout] 24 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NotificationMessage` is more private than the item `send_notification_handler` [INFO] [stdout] --> src/notifications/ws.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn send_notification_handler( [INFO] [stdout] 21 | | State(state): State, [INFO] [stdout] 22 | | Path(user_id): Path, [INFO] [stdout] 23 | | Json(payload): Json [INFO] [stdout] 24 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `NotificationMessage` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct NotificationMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Channels` is more private than the item `handle_socket` [INFO] [stdout] --> src/notifications/websockets.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handle_socket(mut socket: WebSocket, who: SocketAddr, state: Channels, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_socket` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/notifications/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Channels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "9d308d77e598b328512e86449765c16a93e598b2a5e665fd19d988d0a036b096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d308d77e598b328512e86449765c16a93e598b2a5e665fd19d988d0a036b096", kill_on_drop: false }` [INFO] [stdout] 9d308d77e598b328512e86449765c16a93e598b2a5e665fd19d988d0a036b096 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1bb81765ef3b51a3866badddfbcf140bb157a7c556f05400e1a6050508f2f649 [INFO] running `Command { std: "docker" "start" "-a" "1bb81765ef3b51a3866badddfbcf140bb157a7c556f05400e1a6050508f2f649", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.futures-util.futures [INFO] [stderr] warning: type `Channels` is more private than the item `sse_handler` [INFO] [stderr] --> src/notifications/sse.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / pub async fn sse_handler( [INFO] [stderr] 11 | | State(state): State, [INFO] [stderr] 12 | | Path(user_id): Path [INFO] [stderr] 13 | | ) -> Sse>> { [INFO] [stderr] | |_______________________________________________________^ function `sse_handler` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/notifications/types.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct Channels { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Channels` is more private than the item `ws_handler` [INFO] [stderr] --> src/notifications/ws.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / pub async fn ws_handler( [INFO] [stderr] 11 | | ws: WebSocketUpgrade, [INFO] [stderr] 12 | | ConnectInfo(addr): ConnectInfo, [INFO] [stderr] 13 | | State(state): State, [INFO] [stderr] 14 | | Path(user_id): Path [INFO] [stderr] 15 | | ) -> impl IntoResponse { [INFO] [stderr] | |______________________^ function `ws_handler` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/notifications/types.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct Channels { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Channels` is more private than the item `send_notification_handler` [INFO] [stderr] --> src/notifications/ws.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / pub async fn send_notification_handler( [INFO] [stderr] 21 | | State(state): State, [INFO] [stderr] 22 | | Path(user_id): Path, [INFO] [stderr] 23 | | Json(payload): Json [INFO] [stderr] 24 | | ) -> impl IntoResponse { [INFO] [stderr] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/notifications/types.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct Channels { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `NotificationMessage` is more private than the item `send_notification_handler` [INFO] [stderr] --> src/notifications/ws.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / pub async fn send_notification_handler( [INFO] [stderr] 21 | | State(state): State, [INFO] [stderr] 22 | | Path(user_id): Path, [INFO] [stderr] 23 | | Json(payload): Json [INFO] [stderr] 24 | | ) -> impl IntoResponse { [INFO] [stderr] | |______________________^ function `send_notification_handler` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `NotificationMessage` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/notifications/types.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) struct NotificationMessage { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Channels` is more private than the item `handle_socket` [INFO] [stderr] --> src/notifications/websockets.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn handle_socket(mut socket: WebSocket, who: SocketAddr, state: Channels, user_id: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_socket` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Channels` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/notifications/types.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct Channels { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `webapp` (lib) generated 5 warnings [INFO] [stderr] warning: `webapp` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webapp-c736485e21f564e3) [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/webapp-a3ab7a384e03163c) [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 webapp [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" "1bb81765ef3b51a3866badddfbcf140bb157a7c556f05400e1a6050508f2f649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb81765ef3b51a3866badddfbcf140bb157a7c556f05400e1a6050508f2f649", kill_on_drop: false }` [INFO] [stdout] 1bb81765ef3b51a3866badddfbcf140bb157a7c556f05400e1a6050508f2f649