[INFO] cloning repository https://github.com/1195655796/06-crm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1195655796/06-crm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1195655796%2F06-crm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1195655796%2F06-crm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cd0ad5119cff11608a6c1c015c2976ca668cd54 [INFO] testing 1195655796/06-crm against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1195655796%2F06-crm" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/1195655796/06-crm [INFO] finished tweaking git repo https://github.com/1195655796/06-crm [INFO] tweaked toml for git repo https://github.com/1195655796/06-crm written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/1195655796/06-crm on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/1195655796/06-crm 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b65af40e86c547367fd427bfa6b673fe961baa4af53c66f0c761c73bfc82430b [INFO] running `Command { std: "docker" "start" "-a" "b65af40e86c547367fd427bfa6b673fe961baa4af53c66f0c761c73bfc82430b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b65af40e86c547367fd427bfa6b673fe961baa4af53c66f0c761c73bfc82430b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65af40e86c547367fd427bfa6b673fe961baa4af53c66f0c761c73bfc82430b", kill_on_drop: false }` [INFO] [stdout] b65af40e86c547367fd427bfa6b673fe961baa4af53c66f0c761c73bfc82430b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e73e2717cfaa643a7bc8461cb1d586b57aa1c9d694706cacb5d3a1de603cb2 [INFO] running `Command { std: "docker" "start" "-a" "13e73e2717cfaa643a7bc8461cb1d586b57aa1c9d694706cacb5d3a1de603cb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling zerocopy v0.7.33 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling deunicode v1.4.4 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ct-codecs v1.1.1 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling hmac-sha256 v1.1.7 [INFO] [stderr] Compiling hmac-sha512 v1.1.5 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling coarsetime v0.1.34 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.4 [INFO] [stderr] Compiling binstring v0.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling k256 v0.13.3 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.3 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling dummy v0.7.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling boring-sys v4.6.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fake v2.9.2 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling prost-derive v0.12.4 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Compiling prost-types v0.12.4 [INFO] [stderr] Compiling prost-build v0.12.4 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling proto-builder-trait v0.6.1 [INFO] [stderr] Compiling crm-metadata v0.1.0 (/opt/rustwide/workdir/crm-metadata) [INFO] [stderr] Compiling crm-send v0.1.0 (/opt/rustwide/workdir/crm-send) [INFO] [stderr] Compiling user-stat v0.1.0 (/opt/rustwide/workdir/user-stat) [INFO] [stderr] Compiling crm v0.1.0 (/opt/rustwide/workdir/crm) [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stdout] warning: type `gender` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum gender { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Gender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `female` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | female, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Female` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `male` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | male, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Male` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unknown` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | unknown, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_insert` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | async fn raw_insert(users: HashSet, pool: &PgPool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_to_string` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn list_to_string(list: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boring v4.6.0 [INFO] [stderr] Compiling jwt-simple v0.12.9 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> crm/src/abi/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let query = QueryRequest::new_with_dt("created_at", d1, d2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | fn gender_specific_views(content: &Content, gender: &gender) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_stat` [INFO] [stdout] --> crm/src/abi/mod.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:159:51 [INFO] [stdout] | [INFO] [stdout] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | fn recent_views(content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn decay_factor(content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_query` [INFO] [stdout] --> crm/src/abi/mod.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | let update_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_stat` [INFO] [stdout] --> crm/src/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let user_stat: Vec = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_stats` is never read [INFO] [stdout] --> crm/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CrmService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | config: AppConfig, [INFO] [stdout] 27 | user_stats: UserStatsClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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 1` [INFO] running `Command { std: "docker" "inspect" "13e73e2717cfaa643a7bc8461cb1d586b57aa1c9d694706cacb5d3a1de603cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e73e2717cfaa643a7bc8461cb1d586b57aa1c9d694706cacb5d3a1de603cb2", kill_on_drop: false }` [INFO] [stdout] 13e73e2717cfaa643a7bc8461cb1d586b57aa1c9d694706cacb5d3a1de603cb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85316dfa31829e5e55e5d7cc8ea3f24fd4b52c168c7b345a3d9074041745be60 [INFO] running `Command { std: "docker" "start" "-a" "85316dfa31829e5e55e5d7cc8ea3f24fd4b52c168c7b345a3d9074041745be60", kill_on_drop: false }` [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling user-stat v0.1.0 (/opt/rustwide/workdir/user-stat) [INFO] [stderr] Compiling crm-send v0.1.0 (/opt/rustwide/workdir/crm-send) [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling crm-metadata v0.1.0 (/opt/rustwide/workdir/crm-metadata) [INFO] [stderr] Compiling sqlx-db-tester v0.4.2 [INFO] [stdout] warning: type `gender` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum gender { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Gender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `female` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | female, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Female` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `male` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | male, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Male` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unknown` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | unknown, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_insert` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | async fn raw_insert(users: HashSet, pool: &PgPool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_to_string` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn list_to_string(list: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crm v0.1.0 (/opt/rustwide/workdir/crm) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `gender` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum gender { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Gender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `female` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | female, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Female` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `male` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | male, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Male` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unknown` should have an upper camel case name [INFO] [stdout] --> user-stat/src/examples/gen.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | unknown, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> crm/src/abi/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let query = QueryRequest::new_with_dt("created_at", d1, d2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | fn gender_specific_views(content: &Content, gender: &gender) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_stat` [INFO] [stdout] --> crm/src/abi/mod.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:159:51 [INFO] [stdout] | [INFO] [stdout] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | fn recent_views(content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn decay_factor(content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_query` [INFO] [stdout] --> crm/src/abi/mod.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | let update_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crm/src/abi/mod.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let mut reqs = ReceiverStream::new(rx); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> crm/src/abi/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let query = QueryRequest::new_with_dt("created_at", d1, d2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_stat` [INFO] [stdout] --> crm/src/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let user_stat: Vec = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | fn gender_specific_views(content: &Content, gender: &gender) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_stat` [INFO] [stdout] --> crm/src/abi/mod.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:159:51 [INFO] [stdout] | [INFO] [stdout] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | fn recent_views(content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crm/src/abi/mod.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn decay_factor(content: &Content) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_query` [INFO] [stdout] --> crm/src/abi/mod.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | let update_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_stats` is never read [INFO] [stdout] --> crm/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CrmService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | config: AppConfig, [INFO] [stdout] 27 | user_stats: UserStatsClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_insert` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | async fn raw_insert(users: HashSet, pool: &PgPool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_to_string` is never used [INFO] [stdout] --> user-stat/src/examples/gen.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn list_to_string(list: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_stat` [INFO] [stdout] --> crm/src/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let user_stat: Vec = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_stats` is never read [INFO] [stdout] --> crm/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CrmService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | config: AppConfig, [INFO] [stdout] 27 | user_stats: UserStatsClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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 1` [INFO] running `Command { std: "docker" "inspect" "85316dfa31829e5e55e5d7cc8ea3f24fd4b52c168c7b345a3d9074041745be60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85316dfa31829e5e55e5d7cc8ea3f24fd4b52c168c7b345a3d9074041745be60", kill_on_drop: false }` [INFO] [stdout] 85316dfa31829e5e55e5d7cc8ea3f24fd4b52c168c7b345a3d9074041745be60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 184bbc2d0c31631a686688544089d89bc1745215348a5ec1333059346243a582 [INFO] running `Command { std: "docker" "start" "-a" "184bbc2d0c31631a686688544089d89bc1745215348a5ec1333059346243a582", kill_on_drop: false }` [INFO] [stderr] warning: type `gender` should have an upper camel case name [INFO] [stderr] --> user-stat/src/examples/gen.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | pub enum gender { [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Gender` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `female` should have an upper camel case name [INFO] [stderr] --> user-stat/src/examples/gen.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | female, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Female` [INFO] [stderr] [INFO] [stderr] warning: variant `male` should have an upper camel case name [INFO] [stderr] --> user-stat/src/examples/gen.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | male, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `Male` [INFO] [stderr] [INFO] [stderr] warning: variant `unknown` should have an upper camel case name [INFO] [stderr] --> user-stat/src/examples/gen.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | unknown, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unknown` [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> user-stat/src/examples/gen.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | async fn main() -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `raw_insert` is never used [INFO] [stderr] --> user-stat/src/examples/gen.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | async fn raw_insert(users: HashSet, pool: &PgPool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_to_string` is never used [INFO] [stderr] --> user-stat/src/examples/gen.rs:141:4 [INFO] [stderr] | [INFO] [stderr] 141 | fn list_to_string(list: Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `user-stat` (lib) generated 7 warnings [INFO] [stderr] warning: `user-stat` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crm/src/abi/mod.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | let mut reqs = ReceiverStream::new(rx); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crm/src/abi/mod.rs:304:18 [INFO] [stderr] | [INFO] [stderr] 304 | let mut reqs = ReceiverStream::new(rx); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crm/src/abi/mod.rs:408:18 [INFO] [stderr] | [INFO] [stderr] 408 | let mut reqs = ReceiverStream::new(rx); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> crm/src/abi/mod.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let query = QueryRequest::new_with_dt("created_at", d1, d2); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content` [INFO] [stderr] --> crm/src/abi/mod.rs:151:34 [INFO] [stderr] | [INFO] [stderr] 151 | fn gender_specific_views(content: &Content, gender: &gender) -> f64 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_stat` [INFO] [stderr] --> crm/src/abi/mod.rs:159:27 [INFO] [stderr] | [INFO] [stderr] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content` [INFO] [stderr] --> crm/src/abi/mod.rs:159:51 [INFO] [stderr] | [INFO] [stderr] 159 | fn sum_similarity(user_stat: &[UserStat], content: &Content) -> f64 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content` [INFO] [stderr] --> crm/src/abi/mod.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | fn recent_views(content: &Content) -> f64 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content` [INFO] [stderr] --> crm/src/abi/mod.rs:167:25 [INFO] [stderr] | [INFO] [stderr] 167 | fn decay_factor(content: &Content) -> f64 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_query` [INFO] [stderr] --> crm/src/abi/mod.rs:396:29 [INFO] [stderr] | [INFO] [stderr] 396 | let update_query = sqlx::query!( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_query` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_stat` [INFO] [stderr] --> crm/src/lib.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | let user_stat: Vec = [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_stat` [INFO] [stderr] [INFO] [stderr] warning: field `user_stats` is never read [INFO] [stderr] --> crm/src/lib.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct CrmService { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 26 | config: AppConfig, [INFO] [stderr] 27 | user_stats: UserStatsClient, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `crm` (lib) generated 12 warnings (run `cargo fix --lib -p crm` to apply 11 suggestions) [INFO] [stderr] warning: `crm` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crm-13d78077d9e66aac) [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/client.rs (/opt/rustwide/target/debug/deps/client-b1f49252d87dd431) [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/server.rs (/opt/rustwide/target/debug/deps/server-418a6fb8885cb99b) [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/lib.rs (/opt/rustwide/target/debug/deps/crm_metadata-a69bd1834b62f46f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test abi::tests::materialize_should_work ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- abi::tests::materialize_should_work stdout ---- [INFO] [stdout] Error: Config file not found [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::msg::<&str> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.82/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::__private::format_err [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.82/src/lib.rs:688:13 [INFO] [stdout] 2: ::load [INFO] [stdout] at ./src/config.rs:32:18 [INFO] [stdout] 3: crm_metadata::abi::tests::materialize_should_work::{closure#0} [INFO] [stdout] at ./src/abi/mod.rs:109:22 [INFO] [stdout] 4: >> as core::future::future::Future>::poll [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/future/future.rs:133:9 [INFO] [stdout] 5: >>> as core::future::future::Future>::poll [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/future/future.rs:133:9 [INFO] [stdout] 6: ::block_on::>>>>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:73 [INFO] [stdout] 7: tokio::runtime::coop::with_budget::>, ::block_on>>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget::>, ::block_on>>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: ::block_on::>>>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 10: ::enter::>, ::block_on>>>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 11: ::block_on::>>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:44 [INFO] [stdout] 12: ::enter::<::block_on>>>>::{closure#0}, core::option::Option>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 13: >::set::<::enter<::block_on>>>>::{closure#0}, core::option::Option>>::{closure#0}, (alloc::boxed::Box, core::option::Option>)> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::<(alloc::boxed::Box, core::option::Option>), ::enter<::block_on>>>>::{closure#0}, core::option::Option>>::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:38 [INFO] [stdout] 15: >::try_with::, core::option::Option>), ::enter<::block_on>>>>::{closure#0}, core::option::Option>>::{closure#0}>::{closure#0}, (alloc::boxed::Box, core::option::Option>)> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/thread/local.rs:513:12 [INFO] [stdout] 16: >::with::, core::option::Option>), ::enter<::block_on>>>>::{closure#0}, core::option::Option>>::{closure#0}>::{closure#0}, (alloc::boxed::Box, core::option::Option>)> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/thread/local.rs:477:20 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler::<(alloc::boxed::Box, core::option::Option>), ::enter<::block_on>>>>::{closure#0}, core::option::Option>>::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:17 [INFO] [stdout] 18: ::enter::<::block_on>>>>::{closure#0}, core::option::Option>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 19: ::block_on::>>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:24 [INFO] [stdout] 20: ::block_on::>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:33 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime::<::block_on>>>::{closure#0}, core::result::Result<(), anyhow::Error>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 23: ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:349:52 [INFO] [stdout] 24: crm_metadata::abi::tests::materialize_should_work [INFO] [stdout] at ./src/abi/mod.rs:121:11 [INFO] [stdout] 25: crm_metadata::abi::tests::materialize_should_work::{closure#0} [INFO] [stdout] at ./src/abi/mod.rs:108:43 [INFO] [stdout] 26: >::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: test::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: std::panicking::catch_unwind::do_call::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:581:40 [INFO] [stdout] 32: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:544:19 [INFO] [stdout] 33: std::panic::catch_unwind::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: test::run_test::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: test::run_test::{closure#1} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 38: std::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 39: ::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: std::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:581:40 [INFO] [stdout] 41: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:544:19 [INFO] [stdout] 42: std::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: std::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 44: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 46: ::new::thread_start [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 47: [INFO] [stdout] 48: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] abi::tests::materialize_should_work [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p crm-metadata --lib` [INFO] running `Command { std: "docker" "inspect" "184bbc2d0c31631a686688544089d89bc1745215348a5ec1333059346243a582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "184bbc2d0c31631a686688544089d89bc1745215348a5ec1333059346243a582", kill_on_drop: false }` [INFO] [stdout] 184bbc2d0c31631a686688544089d89bc1745215348a5ec1333059346243a582