[INFO] cloning repository https://github.com/name1e5s/scaler-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/name1e5s/scaler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fname1e5s%2Fscaler-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fname1e5s%2Fscaler-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc642e6a216847e80b3be0d53e2335c365571d32 [INFO] checking name1e5s/scaler-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fname1e5s%2Fscaler-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/name1e5s/scaler-rust [INFO] finished tweaking git repo https://github.com/name1e5s/scaler-rust [INFO] tweaked toml for git repo https://github.com/name1e5s/scaler-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/name1e5s/scaler-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/name1e5s/scaler-rust 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9770144e7f7ee717d70206414b7c28be063f9c055c27e1e16afe14cf2f0460bf [INFO] running `Command { std: "docker" "start" "-a" "9770144e7f7ee717d70206414b7c28be063f9c055c27e1e16afe14cf2f0460bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9770144e7f7ee717d70206414b7c28be063f9c055c27e1e16afe14cf2f0460bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9770144e7f7ee717d70206414b7c28be063f9c055c27e1e16afe14cf2f0460bf", kill_on_drop: false }` [INFO] [stdout] 9770144e7f7ee717d70206414b7c28be063f9c055c27e1e16afe14cf2f0460bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52d59e854b5b5087c5dccd98059dd649d9ce95a83529ba11cb9b24560de70a03 [INFO] running `Command { std: "docker" "start" "-a" "52d59e854b5b5087c5dccd98059dd649d9ce95a83529ba11cb9b24560de70a03", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking dashmap v5.5.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling scaler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stdout] warning: struct `CellPerfScore` is never constructed [INFO] [stdout] --> src/cell/metric.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CellPerfScore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORK_SCHEDULE_INTERVAL_SEC` is never used [INFO] [stdout] --> src/cell/stork.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const STORK_SCHEDULE_INTERVAL_SEC: u64 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorkCell` is never constructed [INFO] [stdout] --> src/cell/stork.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StorkCell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_empty`, `create_slot_in_background`, and `get_or_create_free_slot` are never used [INFO] [stdout] --> src/cell/stork.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl StorkCell { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 27 | fn new(meta: model::Meta, client: Arc) -> StorkCell { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn create_slot_in_background(self: Arc, fut: Fut) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | async fn get_or_create_free_slot(self: Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorkCellFactory` is never constructed [INFO] [stdout] --> src/cell/stork.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct StorkCellFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell/metric.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn schedule_time_recoder(&self) -> ScheduleTimeRecoder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn schedule_time_recoder(&self) -> ScheduleTimeRecoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:599:42 [INFO] [stdout] | [INFO] [stdout] 599 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 600 | | let inner = inner.0; [INFO] [stdout] 601 | | let method = AssignSvc(inner); [INFO] [stdout] 602 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 613 | | Ok(res) [INFO] [stdout] 614 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:613:25 [INFO] [stdout] | [INFO] [stdout] 613 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:641:42 [INFO] [stdout] | [INFO] [stdout] 641 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 642 | | let inner = inner.0; [INFO] [stdout] 643 | | let method = IdleSvc(inner); [INFO] [stdout] 644 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 655 | | Ok(res) [INFO] [stdout] 656 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:655:25 [INFO] [stdout] | [INFO] [stdout] 655 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:660:41 [INFO] [stdout] | [INFO] [stdout] 660 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 661 | | Ok( [INFO] [stdout] 662 | | http::Response::builder() [INFO] [stdout] 663 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 669 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:661:25 [INFO] [stdout] | [INFO] [stdout] 661 | / Ok( [INFO] [stdout] 662 | | http::Response::builder() [INFO] [stdout] 663 | | .status(200) [INFO] [stdout] 664 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 667 | | .unwrap(), [INFO] [stdout] 668 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:831:42 [INFO] [stdout] | [INFO] [stdout] 831 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 832 | | let inner = inner.0; [INFO] [stdout] 833 | | let method = CreateSlotSvc(inner); [INFO] [stdout] 834 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 845 | | Ok(res) [INFO] [stdout] 846 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:845:25 [INFO] [stdout] | [INFO] [stdout] 845 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:877:42 [INFO] [stdout] | [INFO] [stdout] 877 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 878 | | let inner = inner.0; [INFO] [stdout] 879 | | let method = DestroySlotSvc(inner); [INFO] [stdout] 880 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 891 | | Ok(res) [INFO] [stdout] 892 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:891:25 [INFO] [stdout] | [INFO] [stdout] 891 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:919:42 [INFO] [stdout] | [INFO] [stdout] 919 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 920 | | let inner = inner.0; [INFO] [stdout] 921 | | let method = InitSvc(inner); [INFO] [stdout] 922 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 933 | | Ok(res) [INFO] [stdout] 934 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:933:25 [INFO] [stdout] | [INFO] [stdout] 933 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:938:41 [INFO] [stdout] | [INFO] [stdout] 938 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 939 | | Ok( [INFO] [stdout] 940 | | http::Response::builder() [INFO] [stdout] 941 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 947 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:939:25 [INFO] [stdout] | [INFO] [stdout] 939 | / Ok( [INFO] [stdout] 940 | | http::Response::builder() [INFO] [stdout] 941 | | .status(200) [INFO] [stdout] 942 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 945 | | .unwrap(), [INFO] [stdout] 946 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scaler` (lib) due to 14 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `CellPerfScore` is never constructed [INFO] [stdout] --> src/cell/metric.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CellPerfScore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORK_SCHEDULE_INTERVAL_SEC` is never used [INFO] [stdout] --> src/cell/stork.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const STORK_SCHEDULE_INTERVAL_SEC: u64 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorkCell` is never constructed [INFO] [stdout] --> src/cell/stork.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StorkCell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_empty`, `create_slot_in_background`, and `get_or_create_free_slot` are never used [INFO] [stdout] --> src/cell/stork.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl StorkCell { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 27 | fn new(meta: model::Meta, client: Arc) -> StorkCell { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn create_slot_in_background(self: Arc, fut: Fut) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | async fn get_or_create_free_slot(self: Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorkCellFactory` is never constructed [INFO] [stdout] --> src/cell/stork.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct StorkCellFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell/metric.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn schedule_time_recoder(&self) -> ScheduleTimeRecoder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn schedule_time_recoder(&self) -> ScheduleTimeRecoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:599:42 [INFO] [stdout] | [INFO] [stdout] 599 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 600 | | let inner = inner.0; [INFO] [stdout] 601 | | let method = AssignSvc(inner); [INFO] [stdout] 602 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 613 | | Ok(res) [INFO] [stdout] 614 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:613:25 [INFO] [stdout] | [INFO] [stdout] 613 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:641:42 [INFO] [stdout] | [INFO] [stdout] 641 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 642 | | let inner = inner.0; [INFO] [stdout] 643 | | let method = IdleSvc(inner); [INFO] [stdout] 644 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 655 | | Ok(res) [INFO] [stdout] 656 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:655:25 [INFO] [stdout] | [INFO] [stdout] 655 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:660:41 [INFO] [stdout] | [INFO] [stdout] 660 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 661 | | Ok( [INFO] [stdout] 662 | | http::Response::builder() [INFO] [stdout] 663 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 669 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:661:25 [INFO] [stdout] | [INFO] [stdout] 661 | / Ok( [INFO] [stdout] 662 | | http::Response::builder() [INFO] [stdout] 663 | | .status(200) [INFO] [stdout] 664 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 667 | | .unwrap(), [INFO] [stdout] 668 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:831:42 [INFO] [stdout] | [INFO] [stdout] 831 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 832 | | let inner = inner.0; [INFO] [stdout] 833 | | let method = CreateSlotSvc(inner); [INFO] [stdout] 834 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 845 | | Ok(res) [INFO] [stdout] 846 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:845:25 [INFO] [stdout] | [INFO] [stdout] 845 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:877:42 [INFO] [stdout] | [INFO] [stdout] 877 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 878 | | let inner = inner.0; [INFO] [stdout] 879 | | let method = DestroySlotSvc(inner); [INFO] [stdout] 880 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 891 | | Ok(res) [INFO] [stdout] 892 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:891:25 [INFO] [stdout] | [INFO] [stdout] 891 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:919:42 [INFO] [stdout] | [INFO] [stdout] 919 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 920 | | let inner = inner.0; [INFO] [stdout] 921 | | let method = InitSvc(inner); [INFO] [stdout] 922 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 933 | | Ok(res) [INFO] [stdout] 934 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:933:25 [INFO] [stdout] | [INFO] [stdout] 933 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:938:41 [INFO] [stdout] | [INFO] [stdout] 938 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 939 | | Ok( [INFO] [stdout] 940 | | http::Response::builder() [INFO] [stdout] 941 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 947 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/scaler-2ecf374332793fff/out/serverless.simulator.rs:939:25 [INFO] [stdout] | [INFO] [stdout] 939 | / Ok( [INFO] [stdout] 940 | | http::Response::builder() [INFO] [stdout] 941 | | .status(200) [INFO] [stdout] 942 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 945 | | .unwrap(), [INFO] [stdout] 946 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scaler` (lib test) due to 14 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52d59e854b5b5087c5dccd98059dd649d9ce95a83529ba11cb9b24560de70a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d59e854b5b5087c5dccd98059dd649d9ce95a83529ba11cb9b24560de70a03", kill_on_drop: false }` [INFO] [stdout] 52d59e854b5b5087c5dccd98059dd649d9ce95a83529ba11cb9b24560de70a03