[INFO] cloning repository https://github.com/florentulve/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/florentulve/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentulve%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentulve%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29433aff2b861e67638e4ccbb0a1b7027fdb3560 [INFO] building florentulve/zero2prod against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentulve%2Fzero2prod" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/florentulve/zero2prod 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-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/florentulve/zero2prod [INFO] finished tweaking git repo https://github.com/florentulve/zero2prod [INFO] tweaked toml for git repo https://github.com/florentulve/zero2prod written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/florentulve/zero2prod 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 crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sval_nested v2.13.0 [INFO] [stderr] Downloaded sval_fmt v2.13.0 [INFO] [stderr] Downloaded sval_serde v2.13.0 [INFO] [stderr] Downloaded sval_ref v2.13.0 [INFO] [stderr] Downloaded sval_buffer v2.13.0 [INFO] [stderr] Downloaded sval v2.13.0 [INFO] [stderr] Downloaded opentelemetry-appender-log v0.5.0 [INFO] [stderr] Downloaded console-api v0.5.0 [INFO] [stderr] Downloaded console-subscriber v0.1.10 [INFO] [stderr] Downloaded opentelemetry-otlp v0.17.0 [INFO] [stderr] Downloaded tower v0.5.0 [INFO] [stderr] Downloaded tonic v0.12.2 [INFO] [stderr] Downloaded ordered-float v4.2.2 [INFO] [stderr] Downloaded opentelemetry-stdout v0.5.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.7.0 [INFO] [stderr] Downloaded sval_json v2.13.0 [INFO] [stderr] Downloaded sval_dynamic v2.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d2bc7de8c05b4cf971f748ae424f9a4d1367c2df604f7e64b663995c709e1214 [INFO] running `Command { std: "docker" "start" "-a" "d2bc7de8c05b4cf971f748ae424f9a4d1367c2df604f7e64b663995c709e1214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2bc7de8c05b4cf971f748ae424f9a4d1367c2df604f7e64b663995c709e1214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bc7de8c05b4cf971f748ae424f9a4d1367c2df604f7e64b663995c709e1214", kill_on_drop: false }` [INFO] [stdout] d2bc7de8c05b4cf971f748ae424f9a4d1367c2df604f7e64b663995c709e1214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7e3ae7262b6a0e210e58b3f88275a978b9ee7df6f88794051396a39297c8ce7a [INFO] running `Command { std: "docker" "start" "-a" "7e3ae7262b6a0e210e58b3f88275a978b9ee7df6f88794051396a39297c8ce7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ordered-float v4.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tower v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.16.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling opentelemetry v0.24.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling serde_fmt v1.0.3 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling opentelemetry_sdk v0.24.1 [INFO] [stderr] Compiling value-bag-serde1 v1.9.0 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling opentelemetry-appender-log v0.5.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling opentelemetry-stdout v0.5.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.25.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.12.2 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stderr] Compiling opentelemetry-proto v0.7.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.17.0 [INFO] [stderr] Compiling console-api v0.5.0 [INFO] [stderr] Compiling console-subscriber v0.1.10 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serve::Serve` [INFO] [stdout] --> src/webapp/server.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{routing::get, serve::Serve, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, and `description` are never read [INFO] [stdout] --> src/app/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `span` [INFO] [stdout] --> src/main.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, span, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `subscriber` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, subscriber, Level}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serve::Serve` [INFO] [stdout] --> src/webapp/server.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{routing::get, serve::Serve, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, `description`, `ip`, and `port` are never read [INFO] [stdout] --> src/app/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | ip: Ipv4Addr, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ip`, `port`, and `bind` are never used [INFO] [stdout] --> src/app/application.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Application { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn ip>(mut self, ip: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn port(mut self, port: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn bind(&self) -> SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/webapp/server.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn root() -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/webapp/server.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn app() -> Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Webapp` is never constructed [INFO] [stdout] --> src/webapp/server.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Webapp<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `web` are never used [INFO] [stdout] --> src/webapp/server.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> Webapp<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(app: &'a Application) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn web(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "7e3ae7262b6a0e210e58b3f88275a978b9ee7df6f88794051396a39297c8ce7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e3ae7262b6a0e210e58b3f88275a978b9ee7df6f88794051396a39297c8ce7a", kill_on_drop: false }` [INFO] [stdout] 7e3ae7262b6a0e210e58b3f88275a978b9ee7df6f88794051396a39297c8ce7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 38272fff6c1af1bbb00974127a507aa93bf85137aa38d03202fc4de1c4f6d6ab [INFO] running `Command { std: "docker" "start" "-a" "38272fff6c1af1bbb00974127a507aa93bf85137aa38d03202fc4de1c4f6d6ab", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stdout] warning: unused import: `serve::Serve` [INFO] [stdout] --> src/webapp/server.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{routing::get, serve::Serve, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, and `description` are never read [INFO] [stdout] --> src/app/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `span` [INFO] [stdout] --> src/main.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, span, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `subscriber` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, subscriber, Level}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serve::Serve` [INFO] [stdout] --> src/webapp/server.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{routing::get, serve::Serve, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, `description`, `ip`, and `port` are never read [INFO] [stdout] --> src/app/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | ip: Ipv4Addr, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ip`, `port`, and `bind` are never used [INFO] [stdout] --> src/app/application.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Application { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn ip>(mut self, ip: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn port(mut self, port: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn bind(&self) -> SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/webapp/server.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn root() -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/webapp/server.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn app() -> Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Webapp` is never constructed [INFO] [stdout] --> src/webapp/server.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Webapp<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `web` are never used [INFO] [stdout] --> src/webapp/server.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> Webapp<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(app: &'a Application) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn web(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [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 zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serve::Serve` [INFO] [stdout] --> src/webapp/server.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{routing::get, serve::Serve, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `span` [INFO] [stdout] --> src/main.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, span, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `subscriber` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, subscriber, Level}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serve::Serve` [INFO] [stdout] --> src/webapp/server.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{routing::get, serve::Serve, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, and `description` are never read [INFO] [stdout] --> src/app/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, `description`, `ip`, and `port` are never read [INFO] [stdout] --> src/app/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | ip: Ipv4Addr, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ip`, `port`, and `bind` are never used [INFO] [stdout] --> src/app/application.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Application { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn ip>(mut self, ip: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn port(mut self, port: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn bind(&self) -> SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/webapp/server.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn root() -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/webapp/server.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn app() -> Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Webapp` is never constructed [INFO] [stdout] --> src/webapp/server.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Webapp<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `web` are never used [INFO] [stdout] --> src/webapp/server.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> Webapp<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(app: &'a Application) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn web(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.88s [INFO] running `Command { std: "docker" "inspect" "38272fff6c1af1bbb00974127a507aa93bf85137aa38d03202fc4de1c4f6d6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38272fff6c1af1bbb00974127a507aa93bf85137aa38d03202fc4de1c4f6d6ab", kill_on_drop: false }` [INFO] [stdout] 38272fff6c1af1bbb00974127a507aa93bf85137aa38d03202fc4de1c4f6d6ab