[INFO] cloning repository https://github.com/nanwp/rust-example-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nanwp/rust-example-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanwp%2Frust-example-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanwp%2Frust-example-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a62f236b2dbed32e72a98fe5cfc3e32de8ceaeb8 [INFO] testing nanwp/rust-example-api against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanwp%2Frust-example-api" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nanwp/rust-example-api [INFO] finished tweaking git repo https://github.com/nanwp/rust-example-api [INFO] tweaked toml for git repo https://github.com/nanwp/rust-example-api written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nanwp/rust-example-api on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nanwp/rust-example-api 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded testcontainers v0.14.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.25 [INFO] [stderr] Downloaded pq-sys v0.7.2 [INFO] [stderr] Downloaded bcrypt v0.14.0 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded bollard-stubs v1.41.0 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded actix-cors v0.7.1 [INFO] [stderr] Downloaded jsonwebtoken v8.3.0 [INFO] [stderr] Downloaded diesel_derives v2.2.6 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded actix-http v3.11.0 [INFO] [stderr] Downloaded diesel v2.2.11 [INFO] [stderr] Downloaded brotli v8.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd925aa154e6c915b02f80f4b3dd14a2532177661bf1de357b20a7875c1e43be [INFO] running `Command { std: "docker" "start" "-a" "dd925aa154e6c915b02f80f4b3dd14a2532177661bf1de357b20a7875c1e43be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd925aa154e6c915b02f80f4b3dd14a2532177661bf1de357b20a7875c1e43be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd925aa154e6c915b02f80f4b3dd14a2532177661bf1de357b20a7875c1e43be", kill_on_drop: false }` [INFO] [stdout] dd925aa154e6c915b02f80f4b3dd14a2532177661bf1de357b20a7875c1e43be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab4093a1e153a2beb5622d1e3a743299b1c91d852c337e00f3f83eb3ec73134 [INFO] running `Command { std: "docker" "start" "-a" "dab4093a1e153a2beb5622d1e3a743299b1c91d852c337e00f3f83eb3ec73134", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bcrypt v0.14.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling diesel v2.2.11 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling rust-examlpe-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ServiceError` is never used [INFO] [stdout] --> src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ServiceError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Connection` is never used [INFO] [stdout] --> src/config/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Connection = PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pool` is never used [INFO] [stdout] --> src/config/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db_pool` is never used [INFO] [stdout] --> src/config/db.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init_db_pool(database_url: &str) -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseBody` is never constructed [INFO] [stdout] --> src/models/response.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ResponseBody { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(message: &str, data: T) -> ResponseBody { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/models/response.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/response.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Page { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "dab4093a1e153a2beb5622d1e3a743299b1c91d852c337e00f3f83eb3ec73134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab4093a1e153a2beb5622d1e3a743299b1c91d852c337e00f3f83eb3ec73134", kill_on_drop: false }` [INFO] [stdout] dab4093a1e153a2beb5622d1e3a743299b1c91d852c337e00f3f83eb3ec73134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ff579c80f37b37f9cb50af310b2c7029ca7adf2c84826171618ad896ad037a2 [INFO] running `Command { std: "docker" "start" "-a" "6ff579c80f37b37f9cb50af310b2c7029ca7adf2c84826171618ad896ad037a2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling bollard-stubs v1.41.0 [INFO] [stderr] Compiling testcontainers v0.14.0 [INFO] [stderr] Compiling rust-examlpe-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ServiceError` is never used [INFO] [stdout] --> src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ServiceError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Connection` is never used [INFO] [stdout] --> src/config/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Connection = PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pool` is never used [INFO] [stdout] --> src/config/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db_pool` is never used [INFO] [stdout] --> src/config/db.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init_db_pool(database_url: &str) -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseBody` is never constructed [INFO] [stdout] --> src/models/response.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResponseBody { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ResponseBody { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(message: &str, data: T) -> ResponseBody { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/models/response.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/response.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Page { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.80s [INFO] running `Command { std: "docker" "inspect" "6ff579c80f37b37f9cb50af310b2c7029ca7adf2c84826171618ad896ad037a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff579c80f37b37f9cb50af310b2c7029ca7adf2c84826171618ad896ad037a2", kill_on_drop: false }` [INFO] [stdout] 6ff579c80f37b37f9cb50af310b2c7029ca7adf2c84826171618ad896ad037a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2e20c89973371a6a05a1eac62547787c236357b992fd5e921a8730be5feefc5 [INFO] running `Command { std: "docker" "start" "-a" "a2e20c89973371a6a05a1eac62547787c236357b992fd5e921a8730be5feefc5", kill_on_drop: false }` [INFO] [stderr] warning: enum `ServiceError` is never used [INFO] [stderr] --> src/error.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum ServiceError { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Connection` is never used [INFO] [stderr] --> src/config/db.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub type Connection = PgConnection; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Pool` is never used [INFO] [stderr] --> src/config/db.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub type Pool = r2d2::Pool>; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_db_pool` is never used [INFO] [stderr] --> src/config/db.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn init_db_pool(database_url: &str) -> Pool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ResponseBody` is never constructed [INFO] [stderr] --> src/models/response.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ResponseBody { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/response.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl ResponseBody { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(message: &str, data: T) -> ResponseBody { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Page` is never constructed [INFO] [stderr] --> src/models/response.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Page { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/response.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Page { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 28 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-examlpe-api` (bin "rust-examlpe-api" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_examlpe_api-dd1ea7dafd72b92b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2e20c89973371a6a05a1eac62547787c236357b992fd5e921a8730be5feefc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e20c89973371a6a05a1eac62547787c236357b992fd5e921a8730be5feefc5", kill_on_drop: false }` [INFO] [stdout] a2e20c89973371a6a05a1eac62547787c236357b992fd5e921a8730be5feefc5