[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] building 1195655796/06-crm against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1195655796%2F06-crm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1195655796/06-crm on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 093b0944839859715296ff0877baf611837f0748eb9e2509b87f49a704b2f016 [INFO] running `Command { std: "docker" "start" "-a" "093b0944839859715296ff0877baf611837f0748eb9e2509b87f49a704b2f016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "093b0944839859715296ff0877baf611837f0748eb9e2509b87f49a704b2f016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093b0944839859715296ff0877baf611837f0748eb9e2509b87f49a704b2f016", kill_on_drop: false }` [INFO] [stdout] 093b0944839859715296ff0877baf611837f0748eb9e2509b87f49a704b2f016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63a7edcda0596c50d032bbd63ae220c449f7c1fc4925f120d816342a0f43a952 [INFO] running `Command { std: "docker" "start" "-a" "63a7edcda0596c50d032bbd63ae220c449f7c1fc4925f120d816342a0f43a952", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling zerocopy v0.7.33 [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 futures-core v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [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 itoa v1.0.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [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 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 heck v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling want v0.3.1 [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 httpdate v1.0.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [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 unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling deunicode v1.4.4 [INFO] [stderr] Compiling bindgen v0.68.1 [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 rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [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 pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling dummy v0.7.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tracing v0.1.40 [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 ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling ct-codecs v1.1.1 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling k256 v0.13.3 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling hmac-sha256 v1.1.7 [INFO] [stderr] Compiling hmac-sha512 v1.1.5 [INFO] [stderr] Compiling coarsetime v0.1.34 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling binstring v0.1.1 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [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 zstd v0.12.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fake v2.9.2 [INFO] [stderr] Compiling boring-sys v4.6.0 [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 hyper v0.14.28 [INFO] [stderr] Compiling prost-build v0.12.4 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [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 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 crm v0.1.0 (/opt/rustwide/workdir/crm) [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)]` 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)]` 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: 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)]` on by default [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)]` 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: `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: `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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "63a7edcda0596c50d032bbd63ae220c449f7c1fc4925f120d816342a0f43a952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a7edcda0596c50d032bbd63ae220c449f7c1fc4925f120d816342a0f43a952", kill_on_drop: false }` [INFO] [stdout] 63a7edcda0596c50d032bbd63ae220c449f7c1fc4925f120d816342a0f43a952 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a217d40091ec269a2bef39e8d2c3746c8a9956d5d0aa01d6a64c5852460cfa2 [INFO] running `Command { std: "docker" "start" "-a" "7a217d40091ec269a2bef39e8d2c3746c8a9956d5d0aa01d6a64c5852460cfa2", kill_on_drop: false }` [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling csv-core v0.1.11 [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-metadata v0.1.0 (/opt/rustwide/workdir/crm-metadata) [INFO] [stderr] Compiling csv v1.3.0 [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)]` 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)]` 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: 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)]` on by default [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)]` 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)]` 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: 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)]` on by default [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)]` 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: `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: `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: `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: `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)]` 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: 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)]` 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)]` 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.59s [INFO] running `Command { std: "docker" "inspect" "7a217d40091ec269a2bef39e8d2c3746c8a9956d5d0aa01d6a64c5852460cfa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a217d40091ec269a2bef39e8d2c3746c8a9956d5d0aa01d6a64c5852460cfa2", kill_on_drop: false }` [INFO] [stdout] 7a217d40091ec269a2bef39e8d2c3746c8a9956d5d0aa01d6a64c5852460cfa2