[INFO] cloning repository https://github.com/machine-learning-apps/prism [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/machine-learning-apps/prism" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachine-learning-apps%2Fprism", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachine-learning-apps%2Fprism'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a6a49c09f439a09ca87c67bb34fc4c6ee9b16a3 [INFO] testing machine-learning-apps/prism against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachine-learning-apps%2Fprism" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/machine-learning-apps/prism [INFO] finished tweaking git repo https://github.com/machine-learning-apps/prism [INFO] tweaked toml for git repo https://github.com/machine-learning-apps/prism written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/machine-learning-apps/prism on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/machine-learning-apps/prism 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding itoa v1.0.15 [INFO] [stderr] Adding ryu v1.0.20 [INFO] [stderr] Adding serde v1.0.113 (available: v1.0.228) [INFO] [stderr] Adding serde_derive v1.0.113 (available: v1.0.228) [INFO] [stderr] Adding serde_json v1.0.99 (available: v1.0.145) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 914843c01e4aa45265d34a3f35873c76cee6fd1e3e9993713c016d6e8f2a6a97 [INFO] running `Command { std: "docker" "start" "-a" "914843c01e4aa45265d34a3f35873c76cee6fd1e3e9993713c016d6e8f2a6a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "914843c01e4aa45265d34a3f35873c76cee6fd1e3e9993713c016d6e8f2a6a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914843c01e4aa45265d34a3f35873c76cee6fd1e3e9993713c016d6e8f2a6a97", kill_on_drop: false }` [INFO] [stdout] 914843c01e4aa45265d34a3f35873c76cee6fd1e3e9993713c016d6e8f2a6a97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60549f518a6db81eaa281de948a8b0b94a9d9dc17a9479c56c3cab9993b1904c [INFO] running `Command { std: "docker" "start" "-a" "60549f518a6db81eaa281de948a8b0b94a9d9dc17a9479c56c3cab9993b1904c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling prism v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let now = (SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let now = (SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize); [INFO] [stdout] 77 + let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | thread::sleep_ms((next_send - now) as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => Ok::<_, Error>(Response::new(Body::from(format!("Error")))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `request` is never read [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ReqChannel { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | request: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct SRequest<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 29 | headers: &'a Parts, [INFO] [stdout] 30 | body: &'a String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | state.serialize_field("headers", &headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = state.serialize_field("headers", &headers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "60549f518a6db81eaa281de948a8b0b94a9d9dc17a9479c56c3cab9993b1904c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60549f518a6db81eaa281de948a8b0b94a9d9dc17a9479c56c3cab9993b1904c", kill_on_drop: false }` [INFO] [stdout] 60549f518a6db81eaa281de948a8b0b94a9d9dc17a9479c56c3cab9993b1904c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ce7c7ebbd2734a91f3c6a46a11e5d4a60b46a5dc5e415e3d483ac4b0b8e836 [INFO] running `Command { std: "docker" "start" "-a" "56ce7c7ebbd2734a91f3c6a46a11e5d4a60b46a5dc5e415e3d483ac4b0b8e836", kill_on_drop: false }` [INFO] [stderr] Compiling prism v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let now = (SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let now = (SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize); [INFO] [stdout] 77 + let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | thread::sleep_ms((next_send - now) as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => Ok::<_, Error>(Response::new(Body::from(format!("Error")))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `request` is never read [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ReqChannel { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | request: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct SRequest<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 29 | headers: &'a Parts, [INFO] [stdout] 30 | body: &'a String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | state.serialize_field("headers", &headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = state.serialize_field("headers", &headers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "56ce7c7ebbd2734a91f3c6a46a11e5d4a60b46a5dc5e415e3d483ac4b0b8e836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ce7c7ebbd2734a91f3c6a46a11e5d4a60b46a5dc5e415e3d483ac4b0b8e836", kill_on_drop: false }` [INFO] [stdout] 56ce7c7ebbd2734a91f3c6a46a11e5d4a60b46a5dc5e415e3d483ac4b0b8e836 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90c398cc23d711568a5ca16c6f2f6bcda3eab8cc96066a042810896ff9a71f65 [INFO] running `Command { std: "docker" "start" "-a" "90c398cc23d711568a5ca16c6f2f6bcda3eab8cc96066a042810896ff9a71f65", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> src/main.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | let now = (SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 77 - let now = (SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize); [INFO] [stderr] 77 + let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as usize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | thread::sleep_ms((next_send - now) as u32); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:152:29 [INFO] [stderr] | [INFO] [stderr] 152 | Err(e) => Ok::<_, Error>(Response::new(Body::from(format!("Error")))) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `request` is never read [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | struct ReqChannel { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 23 | request: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `body` is never read [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 28 | struct SRequest<'a> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 29 | headers: &'a Parts, [INFO] [stderr] 30 | body: &'a String [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | state.serialize_field("headers", &headers); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 52 | let _ = state.serialize_field("headers", &headers); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `prism` (bin "prism" test) generated 9 warnings (run `cargo fix --bin "prism" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/prism-94d37d6e2ca8e90f) [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" "90c398cc23d711568a5ca16c6f2f6bcda3eab8cc96066a042810896ff9a71f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90c398cc23d711568a5ca16c6f2f6bcda3eab8cc96066a042810896ff9a71f65", kill_on_drop: false }` [INFO] [stdout] 90c398cc23d711568a5ca16c6f2f6bcda3eab8cc96066a042810896ff9a71f65