[INFO] cloning repository https://github.com/rednithin/agni2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rednithin/agni2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frednithin%2Fagni2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frednithin%2Fagni2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f446c8263b21f3df600ea36b851231012c3a1453
[INFO] building rednithin/agni2 against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frednithin%2Fagni2" "/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/rednithin/agni2 on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rednithin/agni2
[INFO] finished tweaking git repo https://github.com/rednithin/agni2
[INFO] tweaked toml for git repo https://github.com/rednithin/agni2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/rednithin/agni2 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded jetscii v0.5.0
[INFO] [stderr] Downloaded strong-xml v0.6.3
[INFO] [stderr] Downloaded routerify v2.1.0
[INFO] [stderr] Downloaded strong-xml-derive v0.6.3
[INFO] [stderr] Downloaded tracing-bunyan-formatter v0.2.4
[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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88f2963531ff8faec0f2c865487cb109194b8eb2672d06c349a6418b4796860f
[INFO] running `Command { std: "docker" "start" "-a" "88f2963531ff8faec0f2c865487cb109194b8eb2672d06c349a6418b4796860f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88f2963531ff8faec0f2c865487cb109194b8eb2672d06c349a6418b4796860f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88f2963531ff8faec0f2c865487cb109194b8eb2672d06c349a6418b4796860f", kill_on_drop: false }`
[INFO] [stdout] 88f2963531ff8faec0f2c865487cb109194b8eb2672d06c349a6418b4796860f
[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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1511905dd014263bfe3485cd41185164f9b64d8917219f7bc9b2631426f2573c
[INFO] running `Command { std: "docker" "start" "-a" "1511905dd014263bfe3485cd41185164f9b64d8917219f7bc9b2631426f2573c", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.27
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Compiling syn v1.0.73
[INFO] [stderr] Compiling libc v0.2.97
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling pin-project-lite v0.2.6
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Compiling futures-core v0.3.15
[INFO] [stderr] Compiling itoa v0.4.7
[INFO] [stderr] Compiling tracing-core v0.1.18
[INFO] [stderr] Compiling serde v1.0.126
[INFO] [stderr] Compiling bytes v1.0.1
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling proc-macro-hack v0.5.19
[INFO] [stderr] Compiling smallvec v1.6.1
[INFO] [stderr] Compiling aho-corasick v0.7.18
[INFO] [stderr] Compiling futures-macro v0.3.15
[INFO] [stderr] Compiling futures-task v0.3.15
[INFO] [stderr] Compiling futures-channel v0.3.15
[INFO] [stderr] Compiling once_cell v1.8.0
[INFO] [stderr] Compiling futures-sink v0.3.15
[INFO] [stderr] Compiling proc-macro-nested v0.1.7
[INFO] [stderr] Compiling futures-util v0.3.15
[INFO] [stderr] Compiling instant v0.1.9
[INFO] [stderr] Compiling scopeguard v1.1.0
[INFO] [stderr] Compiling typenum v1.13.0
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling http v0.2.4
[INFO] [stderr] Compiling lock_api v0.4.4
[INFO] [stderr] Compiling regex v1.5.4
[INFO] [stderr] Compiling parking_lot_core v0.8.3
[INFO] [stderr] Compiling tokio v1.7.1
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling generic-array v0.14.4
[INFO] [stderr] Compiling slab v0.4.3
[INFO] [stderr] Compiling futures-io v0.3.15
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling parking_lot v0.11.1
[INFO] [stderr] Compiling mio v0.7.13
[INFO] [stderr] Compiling num_cpus v1.13.0
[INFO] [stderr] Compiling signal-hook-registry v1.4.0
[INFO] [stderr] Compiling indexmap v1.6.2
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling unicase v2.6.0
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Compiling pnet_base v0.28.0
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling httparse v1.4.1
[INFO] [stderr] Compiling matches v0.1.8
[INFO] [stderr] Compiling serde_json v1.0.64
[INFO] [stderr] Compiling tinyvec_macros v0.1.0
[INFO] [stderr] Compiling hashbrown v0.9.1
[INFO] [stderr] Compiling tinyvec v1.2.0
[INFO] [stderr] Compiling pnet_macros_support v0.28.0
[INFO] [stderr] Compiling regex-automata v0.1.10
[INFO] [stderr] Compiling pnet_sys v0.28.0
[INFO] [stderr] Compiling percent-encoding v2.1.0
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling try-lock v0.2.3
[INFO] [stderr] Compiling jetscii v0.5.0
[INFO] [stderr] Compiling want v0.3.0
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling mime_guess v2.0.3
[INFO] [stderr] Compiling tracing-serde v0.1.2
[INFO] [stderr] Compiling matchers v0.0.1
[INFO] [stderr] Compiling ipnetwork v0.18.0
[INFO] [stderr] Compiling block-buffer v0.9.0
[INFO] [stderr] Compiling digest v0.9.0
[INFO] [stderr] Compiling unicode-normalization v0.1.19
[INFO] [stderr] Compiling unicode-bidi v0.3.5
[INFO] [stderr] Compiling http-body v0.4.2
[INFO] [stderr] Compiling thread_local v1.1.3
[INFO] [stderr] Compiling socket2 v0.4.0
[INFO] [stderr] Compiling tracing-log v0.1.2
[INFO] [stderr] Compiling sharded-slab v0.1.1
[INFO] [stderr] Compiling xmlparser v0.13.3
[INFO] [stderr] Compiling httpdate v1.0.1
[INFO] [stderr] Compiling pnet v0.28.0
[INFO] [stderr] Compiling tower-service v0.3.1
[INFO] [stderr] Compiling ansi_term v0.12.1
[INFO] [stderr] Compiling mime v0.3.16
[INFO] [stderr] Compiling opaque-debug v0.3.0
[INFO] [stderr] Compiling tracing-attributes v0.1.15
[INFO] [stderr] Compiling tokio-macros v1.2.0
[INFO] [stderr] Compiling pnet_macros v0.28.0
[INFO] [stderr] Compiling pin-project-internal v1.0.7
[INFO] [stderr] Compiling anyhow v1.0.41
[INFO] [stderr] Compiling cpufeatures v0.1.5
[INFO] [stderr] Compiling sha-1 v0.9.6
[INFO] [stderr] Compiling strong-xml-derive v0.6.3
[INFO] [stderr] Compiling idna v0.2.3
[INFO] [stderr] Compiling pnet_datalink v0.28.0
[INFO] [stderr] Compiling pnet_packet v0.28.0
[INFO] [stderr] Compiling tracing v0.1.26
[INFO] [stderr] Compiling tracing-subscriber v0.2.19
[INFO] [stderr] Compiling pin-project v1.0.7
[INFO] [stderr] Compiling form_urlencoded v1.0.1
[INFO] [stderr] Compiling headers-core v0.2.0
[INFO] [stderr] Compiling getrandom v0.2.3
[INFO] [stderr] Compiling gethostname v0.2.1
[INFO] [stderr] Compiling linked-hash-map v0.5.4
[INFO] [stderr] Compiling base64 v0.13.0
[INFO] [stderr] Compiling convert_case v0.4.0
[INFO] [stderr] Compiling lru-cache v0.1.2
[INFO] [stderr] Compiling uuid v0.8.2
[INFO] [stderr] Compiling url v2.2.2
[INFO] [stderr] Compiling headers v0.3.4
[INFO] [stderr] Compiling strong-xml v0.6.3
[INFO] [stderr] Compiling derive_more v0.99.14
[INFO] [stderr] Compiling tracing-futures v0.2.5
[INFO] [stderr] Compiling tracing-bunyan-formatter v0.2.4
[INFO] [stderr] Compiling futures-executor v0.3.15
[INFO] [stderr] Compiling futures v0.3.15
[INFO] [stderr] Compiling roxmltree v0.14.1
[INFO] [stderr] Compiling pnet_transport v0.28.0
[INFO] [stderr] Compiling tokio-util v0.6.7
[INFO] [stderr] Compiling h2 v0.3.3
[INFO] [stderr] Compiling hyper v0.14.9
[INFO] [stderr] Compiling routerify v2.1.0
[INFO] [stderr] Compiling agni2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pnet::datalink`
[INFO] [stdout] --> src/main.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use pnet::datalink;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Instrument` and `instrument`
[INFO] [stdout] --> src/main.rs:12:15
[INFO] [stdout] |
[INFO] [stdout] 12 | use tracing::{instrument, Instrument};
[INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BytesCodec` and `FramedRead`
[INFO] [stdout] --> src/handlers.rs:16:25
[INFO] [stdout] |
[INFO] [stdout] 16 | use tokio_util::codec::{BytesCodec, FramedRead};
[INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout] --> src/handlers.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use std::convert::Infallible;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused macro definition: `traceroute`
[INFO] [stdout] --> src/main.rs:26:14
[INFO] [stdout] |
[INFO] [stdout] 26 | macro_rules! traceroute {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout] --> src/main.rs:125:5
[INFO] [stdout] |
[INFO] [stdout] 125 | use std::io;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> src/main.rs:73:39
[INFO] [stdout] |
[INFO] [stdout] 73 | async fn logger2(res: Response
, req: RequestInfo) -> anyhow::Result> {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout] --> src/handlers.rs:104:9
[INFO] [stdout] |
[INFO] [stdout] 104 | let action = match soap_action_header
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout] --> src/handlers.rs:295:9
[INFO] [stdout] |
[INFO] [stdout] 295 | let root: std::path::PathBuf = "/".parse().unwrap();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `TryFutureExt`
[INFO] [stdout] --> src/handlers.rs:4:68
[INFO] [stdout] |
[INFO] [stdout] 4 | use futures::{future, ready, stream, FutureExt, Stream, StreamExt, TryFutureExt};
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/main.rs:24:14
[INFO] [stdout] |
[INFO] [stdout] 24 | struct State(u64);
[INFO] [stdout] | ----- ^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this struct
[INFO] [stdout] |
[INFO] [stdout] = help: consider removing this field
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `user_handler` is never used
[INFO] [stdout] --> src/main.rs:53:10
[INFO] [stdout] |
[INFO] [stdout] 53 | async fn user_handler(req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `uuid` is never read
[INFO] [stdout] --> src/types.rs:153:9
[INFO] [stdout] |
[INFO] [stdout] 149 | pub struct AppState {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 | pub uuid: Uuid,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout] --> src/main.rs:92:18
[INFO] [stdout] |
[INFO] [stdout] 92 | for items in cache.get_mut(&0) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout] |
[INFO] [stdout] 92 | while let Some(items) = cache.get_mut(&0) {
[INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout] |
[INFO] [stdout] 92 | if let Some(items) = cache.get_mut(&0) {
[INFO] [stdout] | ~~~~~~~~~~~~ ~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/types.rs:45:10
[INFO] [stdout] |
[INFO] [stdout] 45 | #[derive(XmlWrite, XmlRead, PartialEq, Debug, Clone)]
[INFO] [stdout] | ^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `XmlWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/types.rs:58:10
[INFO] [stdout] |
[INFO] [stdout] 58 | #[derive(XmlWrite, XmlRead, PartialEq, Debug, Clone)]
[INFO] [stdout] | ^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the derive macro `XmlWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/types.rs:125:10
[INFO] [stdout] |
[INFO] [stdout] 125 | #[derive(XmlWrite, XmlRead, PartialEq, Debug, Clone)]
[INFO] [stdout] | ^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the derive macro `XmlWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.32s
[INFO] running `Command { std: "docker" "inspect" "1511905dd014263bfe3485cd41185164f9b64d8917219f7bc9b2631426f2573c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1511905dd014263bfe3485cd41185164f9b64d8917219f7bc9b2631426f2573c", kill_on_drop: false }`
[INFO] [stdout] 1511905dd014263bfe3485cd41185164f9b64d8917219f7bc9b2631426f2573c
[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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 655ae0925bef1686f144350c75bd3366a89ddfa3164ea1ee1d2929f80268e377
[INFO] running `Command { std: "docker" "start" "-a" "655ae0925bef1686f144350c75bd3366a89ddfa3164ea1ee1d2929f80268e377", kill_on_drop: false }`
[INFO] [stderr] Compiling agni2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pnet::datalink`
[INFO] [stdout] --> src/main.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use pnet::datalink;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Instrument` and `instrument`
[INFO] [stdout] --> src/main.rs:12:15
[INFO] [stdout] |
[INFO] [stdout] 12 | use tracing::{instrument, Instrument};
[INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BytesCodec` and `FramedRead`
[INFO] [stdout] --> src/handlers.rs:16:25
[INFO] [stdout] |
[INFO] [stdout] 16 | use tokio_util::codec::{BytesCodec, FramedRead};
[INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout] --> src/handlers.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use std::convert::Infallible;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused macro definition: `traceroute`
[INFO] [stdout] --> src/main.rs:26:14
[INFO] [stdout] |
[INFO] [stdout] 26 | macro_rules! traceroute {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout] --> src/main.rs:125:5
[INFO] [stdout] |
[INFO] [stdout] 125 | use std::io;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> src/main.rs:73:39
[INFO] [stdout] |
[INFO] [stdout] 73 | async fn logger2(res: Response, req: RequestInfo) -> anyhow::Result> {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout] --> src/handlers.rs:104:9
[INFO] [stdout] |
[INFO] [stdout] 104 | let action = match soap_action_header
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout] --> src/handlers.rs:295:9
[INFO] [stdout] |
[INFO] [stdout] 295 | let root: std::path::PathBuf = "/".parse().unwrap();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `TryFutureExt`
[INFO] [stdout] --> src/handlers.rs:4:68
[INFO] [stdout] |
[INFO] [stdout] 4 | use futures::{future, ready, stream, FutureExt, Stream, StreamExt, TryFutureExt};
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/main.rs:24:14
[INFO] [stdout] |
[INFO] [stdout] 24 | struct State(u64);
[INFO] [stdout] | ----- ^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this struct
[INFO] [stdout] |
[INFO] [stdout] = help: consider removing this field
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `user_handler` is never used
[INFO] [stdout] --> src/main.rs:53:10
[INFO] [stdout] |
[INFO] [stdout] 53 | async fn user_handler(req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `uuid` is never read
[INFO] [stdout] --> src/types.rs:153:9
[INFO] [stdout] |
[INFO] [stdout] 149 | pub struct AppState {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 | pub uuid: Uuid,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout] --> src/main.rs:92:18
[INFO] [stdout] |
[INFO] [stdout] 92 | for items in cache.get_mut(&0) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout] |
[INFO] [stdout] 92 | while let Some(items) = cache.get_mut(&0) {
[INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout] |
[INFO] [stdout] 92 | if let Some(items) = cache.get_mut(&0) {
[INFO] [stdout] | ~~~~~~~~~~~~ ~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/types.rs:45:10
[INFO] [stdout] |
[INFO] [stdout] 45 | #[derive(XmlWrite, XmlRead, PartialEq, Debug, Clone)]
[INFO] [stdout] | ^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `XmlWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/types.rs:58:10
[INFO] [stdout] |
[INFO] [stdout] 58 | #[derive(XmlWrite, XmlRead, PartialEq, Debug, Clone)]
[INFO] [stdout] | ^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the derive macro `XmlWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/types.rs:125:10
[INFO] [stdout] |
[INFO] [stdout] 125 | #[derive(XmlWrite, XmlRead, PartialEq, Debug, Clone)]
[INFO] [stdout] | ^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the derive macro `XmlWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "655ae0925bef1686f144350c75bd3366a89ddfa3164ea1ee1d2929f80268e377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "655ae0925bef1686f144350c75bd3366a89ddfa3164ea1ee1d2929f80268e377", kill_on_drop: false }`
[INFO] [stdout] 655ae0925bef1686f144350c75bd3366a89ddfa3164ea1ee1d2929f80268e377