[INFO] cloning repository https://github.com/gsson/mini-web-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gsson/mini-web-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsson%2Fmini-web-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsson%2Fmini-web-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 978e4fdacee93e5ff85e15c002066e5bace54973 [INFO] building gsson/mini-web-rs against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsson%2Fmini-web-rs" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsson/mini-web-rs on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gsson/mini-web-rs [INFO] finished tweaking git repo https://github.com/gsson/mini-web-rs [INFO] tweaked toml for git repo https://github.com/gsson/mini-web-rs written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/gsson/mini-web-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded pin-project-internal v1.0.8 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded js-sys v0.3.55 [INFO] [stderr] Downloaded wasm-bindgen v0.2.78 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded pin-project v1.0.8 [INFO] [stderr] Downloaded tower v0.4.10 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded instant v0.1.12 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded socket2 v0.4.2 [INFO] [stderr] Downloaded lock_api v0.4.5 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded quote v1.0.10 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded ppv-lite86 v0.2.15 [INFO] [stderr] Downloaded proc-macro-hack v0.5.19 [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded opentelemetry v0.16.0 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.9.0 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded serde_json v1.0.69 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] [stderr] Downloaded anyhow v1.0.45 [INFO] [stderr] Downloaded hyper v0.14.14 [INFO] [stderr] Downloaded tracing-opentelemetry v0.16.0 [INFO] [stderr] Downloaded tracing-subscriber v0.3.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded tokio-macros v1.5.1 [INFO] [stderr] Downloaded libc v0.2.106 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded matchit v0.4.4 [INFO] [stderr] Downloaded tower-http v0.1.1 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] [stderr] Downloaded smallvec v1.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.78 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded tracing-attributes v0.1.18 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded parking_lot_core v0.8.5 [INFO] [stderr] Downloaded axum v0.3.1 [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded futures-core v0.3.17 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.78 [INFO] [stderr] Downloaded protobuf v2.25.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd73d38fc9730bb98f7909ced96677dae6da04619b68605fd7a1573d2180ddcd [INFO] running `Command { std: "docker" "start" "-a" "bd73d38fc9730bb98f7909ced96677dae6da04619b68605fd7a1573d2180ddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd73d38fc9730bb98f7909ced96677dae6da04619b68605fd7a1573d2180ddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd73d38fc9730bb98f7909ced96677dae6da04619b68605fd7a1573d2180ddcd", kill_on_drop: false }` [INFO] [stdout] bd73d38fc9730bb98f7909ced96677dae6da04619b68605fd7a1573d2180ddcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ca188d9c72ddb1a5c54af49fac33ec5a1595fedd894e54ce9410c3c86325cb4 [INFO] running `Command { std: "docker" "start" "-a" "5ca188d9c72ddb1a5c54af49fac33ec5a1595fedd894e54ce9410c3c86325cb4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling protobuf v2.25.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tower v0.4.10 [INFO] [stderr] Compiling opentelemetry v0.16.0 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling tracing-opentelemetry v0.16.0 [INFO] [stderr] Compiling opentelemetry-prometheus v0.9.0 [INFO] [stderr] Compiling axum v0.3.1 [INFO] [stderr] Compiling mini-web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `record_separator` [INFO] [stdout] --> src/json_logging/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn record_separator(self, separator: impl Into>) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `event_format` [INFO] [stdout] --> src/json_logging/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn event_format(self, event_format: E2) -> Layer [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_writer` [INFO] [stdout] --> src/json_logging/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn with_writer(self, make_writer: W2) -> Layer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Off` [INFO] [stdout] --> src/json_logging/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Off, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/json_logging/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Level` [INFO] [stdout] --> src/json_logging/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Level(Level), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Event` [INFO] [stdout] --> src/json_logging/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Event, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ERROR` [INFO] [stdout] --> src/json_logging/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub const ERROR: DisplayLevelFilter = Self::from_level(Level::ERROR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `WARN` [INFO] [stdout] --> src/json_logging/mod.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub const WARN: DisplayLevelFilter = Self::from_level(Level::WARN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `INFO` [INFO] [stdout] --> src/json_logging/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub const INFO: DisplayLevelFilter = Self::from_level(Level::INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DEBUG` [INFO] [stdout] --> src/json_logging/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub const DEBUG: DisplayLevelFilter = Self::from_level(Level::DEBUG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `TRACE` [INFO] [stdout] --> src/json_logging/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub const TRACE: DisplayLevelFilter = Self::from_level(Level::TRACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_level` [INFO] [stdout] --> src/json_logging/mod.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | const fn from_level(level: Level) -> DisplayLevelFilter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_location` [INFO] [stdout] --> src/json_logging/format.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn with_location(self, display_location: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_fields` [INFO] [stdout] --> src/json_logging/format.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn with_fields(self, display_fields: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_timestamp` [INFO] [stdout] --> src/json_logging/logstash.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn with_timestamp(self, display_timestamp: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_version` [INFO] [stdout] --> src/json_logging/logstash.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn with_version(self, display_version: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_logger_name` [INFO] [stdout] --> src/json_logging/logstash.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn with_logger_name(self, display_logger_name: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_thread_name` [INFO] [stdout] --> src/json_logging/logstash.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn with_thread_name(self, display_thread_name: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_level` [INFO] [stdout] --> src/json_logging/logstash.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_level(self, display_level: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_level_value` [INFO] [stdout] --> src/json_logging/logstash.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn with_level_value(self, display_level_value: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_span_list` [INFO] [stdout] --> src/json_logging/logstash.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_span_list(self, display_span_list: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_stack_trace` [INFO] [stdout] --> src/json_logging/logstash.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn with_stack_trace(self, display_stack_trace: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `span_format` [INFO] [stdout] --> src/json_logging/logstash.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn span_format(self, span_format: FS2) -> LogstashFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "5ca188d9c72ddb1a5c54af49fac33ec5a1595fedd894e54ce9410c3c86325cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca188d9c72ddb1a5c54af49fac33ec5a1595fedd894e54ce9410c3c86325cb4", kill_on_drop: false }` [INFO] [stdout] 5ca188d9c72ddb1a5c54af49fac33ec5a1595fedd894e54ce9410c3c86325cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f50fc698977df8532028dee6c98b160c46a45948eb5506b1c62eaf1bac225bc [INFO] running `Command { std: "docker" "start" "-a" "7f50fc698977df8532028dee6c98b160c46a45948eb5506b1c62eaf1bac225bc", kill_on_drop: false }` [INFO] [stderr] Compiling mini-web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `record_separator` [INFO] [stdout] --> src/json_logging/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn record_separator(self, separator: impl Into>) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `event_format` [INFO] [stdout] --> src/json_logging/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn event_format(self, event_format: E2) -> Layer [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_writer` [INFO] [stdout] --> src/json_logging/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn with_writer(self, make_writer: W2) -> Layer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Off` [INFO] [stdout] --> src/json_logging/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Off, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/json_logging/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Level` [INFO] [stdout] --> src/json_logging/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Level(Level), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Event` [INFO] [stdout] --> src/json_logging/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Event, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DisplayLevelFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/json_logging/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ERROR` [INFO] [stdout] --> src/json_logging/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub const ERROR: DisplayLevelFilter = Self::from_level(Level::ERROR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `WARN` [INFO] [stdout] --> src/json_logging/mod.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub const WARN: DisplayLevelFilter = Self::from_level(Level::WARN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `INFO` [INFO] [stdout] --> src/json_logging/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub const INFO: DisplayLevelFilter = Self::from_level(Level::INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DEBUG` [INFO] [stdout] --> src/json_logging/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub const DEBUG: DisplayLevelFilter = Self::from_level(Level::DEBUG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `TRACE` [INFO] [stdout] --> src/json_logging/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub const TRACE: DisplayLevelFilter = Self::from_level(Level::TRACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_level` [INFO] [stdout] --> src/json_logging/mod.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | const fn from_level(level: Level) -> DisplayLevelFilter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_location` [INFO] [stdout] --> src/json_logging/format.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn with_location(self, display_location: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_fields` [INFO] [stdout] --> src/json_logging/format.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn with_fields(self, display_fields: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_timestamp` [INFO] [stdout] --> src/json_logging/logstash.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn with_timestamp(self, display_timestamp: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_version` [INFO] [stdout] --> src/json_logging/logstash.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn with_version(self, display_version: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_logger_name` [INFO] [stdout] --> src/json_logging/logstash.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn with_logger_name(self, display_logger_name: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_thread_name` [INFO] [stdout] --> src/json_logging/logstash.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn with_thread_name(self, display_thread_name: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_level` [INFO] [stdout] --> src/json_logging/logstash.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_level(self, display_level: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_level_value` [INFO] [stdout] --> src/json_logging/logstash.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn with_level_value(self, display_level_value: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_span_list` [INFO] [stdout] --> src/json_logging/logstash.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_span_list(self, display_span_list: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_stack_trace` [INFO] [stdout] --> src/json_logging/logstash.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn with_stack_trace(self, display_stack_trace: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `span_format` [INFO] [stdout] --> src/json_logging/logstash.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn span_format(self, span_format: FS2) -> LogstashFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.13s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mini_web-ead7ae9cf5530600) [INFO] running `Command { std: "docker" "inspect" "7f50fc698977df8532028dee6c98b160c46a45948eb5506b1c62eaf1bac225bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f50fc698977df8532028dee6c98b160c46a45948eb5506b1c62eaf1bac225bc", kill_on_drop: false }` [INFO] [stdout] 7f50fc698977df8532028dee6c98b160c46a45948eb5506b1c62eaf1bac225bc