[INFO] cloning repository https://github.com/pimpale/todoproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pimpale/todoproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimpale%2Ftodoproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimpale%2Ftodoproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 517e855d85258467a378125af5915ba66ccf2920 [INFO] building pimpale/todoproxy against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimpale%2Ftodoproxy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pimpale/todoproxy on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/pimpale/todoproxy [INFO] finished tweaking git repo https://github.com/pimpale/todoproxy [INFO] tweaked toml for git repo https://github.com/pimpale/todoproxy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pimpale/todoproxy 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/innexgo/auth-service-api` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25f0618bf8f8ee01989041afd593cf489c16490a9c72690710d5067f5fb974e1 [INFO] running `Command { std: "docker" "start" "-a" "25f0618bf8f8ee01989041afd593cf489c16490a9c72690710d5067f5fb974e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25f0618bf8f8ee01989041afd593cf489c16490a9c72690710d5067f5fb974e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f0618bf8f8ee01989041afd593cf489c16490a9c72690710d5067f5fb974e1", kill_on_drop: false }` [INFO] [stdout] 25f0618bf8f8ee01989041afd593cf489c16490a9c72690710d5067f5fb974e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17eef8e0e9ac5ef5bf7f2a7e026ecaafcfa84d06d83bb66989ce670d7a594dba [INFO] running `Command { std: "docker" "start" "-a" "17eef8e0e9ac5ef5bf7f2a7e026ecaafcfa84d06d83bb66989ce670d7a594dba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.3 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling deadpool-postgres v0.14.1 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling actix-ws v0.3.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling auth-service-api v0.7.7 (https://github.com/innexgo/auth-service-api#5f7ecdb9) [INFO] [stderr] Compiling todoproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/task_updates.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | collections::{HashMap, VecDeque, hash_map::Entry}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_types` [INFO] [stdout] --> src/task_updates.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{db_types, utils}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/utils.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let s: String = rand::thread_rng() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbop` [INFO] [stdout] --> src/task_updates.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let dbop = operation_service::add(&mut *con, lock.checkpoint_id, op.clone()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dbop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `creation_time` and `creator_user_id` are never read [INFO] [stdout] --> src/db_types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Checkpoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | pub checkpoint_id: i64, [INFO] [stdout] 6 | pub creation_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub creator_user_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Checkpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_id`, `creation_time`, and `checkpoint_id` are never read [INFO] [stdout] --> src/db_types.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | pub operation_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub creation_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub checkpoint_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionState` is never constructed [INFO] [stdout] --> src/task_updates.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_string` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_checkpoint_id` is never used [INFO] [stdout] --> src/checkpoint_service.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_by_checkpoint_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_operation_id` is never used [INFO] [stdout] --> src/operation_service.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_by_operation_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task_updates.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | lock.updates_tx.send(op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = lock.updates_tx.send(op); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "17eef8e0e9ac5ef5bf7f2a7e026ecaafcfa84d06d83bb66989ce670d7a594dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17eef8e0e9ac5ef5bf7f2a7e026ecaafcfa84d06d83bb66989ce670d7a594dba", kill_on_drop: false }` [INFO] [stdout] 17eef8e0e9ac5ef5bf7f2a7e026ecaafcfa84d06d83bb66989ce670d7a594dba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06662bef7d4f8bedf93188ef2ae2b47f1720fb80933e0420392f364b65840085 [INFO] running `Command { std: "docker" "start" "-a" "06662bef7d4f8bedf93188ef2ae2b47f1720fb80933e0420392f364b65840085", kill_on_drop: false }` [INFO] [stderr] Compiling todoproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/task_updates.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | collections::{HashMap, VecDeque, hash_map::Entry}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_types` [INFO] [stdout] --> src/task_updates.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{db_types, utils}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/utils.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let s: String = rand::thread_rng() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbop` [INFO] [stdout] --> src/task_updates.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let dbop = operation_service::add(&mut *con, lock.checkpoint_id, op.clone()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dbop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `creation_time` and `creator_user_id` are never read [INFO] [stdout] --> src/db_types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Checkpoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | pub checkpoint_id: i64, [INFO] [stdout] 6 | pub creation_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub creator_user_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Checkpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_id`, `creation_time`, and `checkpoint_id` are never read [INFO] [stdout] --> src/db_types.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | pub operation_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub creation_time: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub checkpoint_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionState` is never constructed [INFO] [stdout] --> src/task_updates.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_string` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_checkpoint_id` is never used [INFO] [stdout] --> src/checkpoint_service.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_by_checkpoint_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_operation_id` is never used [INFO] [stdout] --> src/operation_service.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_by_operation_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task_updates.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | lock.updates_tx.send(op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = lock.updates_tx.send(op); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "06662bef7d4f8bedf93188ef2ae2b47f1720fb80933e0420392f364b65840085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06662bef7d4f8bedf93188ef2ae2b47f1720fb80933e0420392f364b65840085", kill_on_drop: false }` [INFO] [stdout] 06662bef7d4f8bedf93188ef2ae2b47f1720fb80933e0420392f364b65840085