[INFO] cloning repository https://github.com/michaeldisaro/rust-functions-pure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaeldisaro/rust-functions-pure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeldisaro%2Frust-functions-pure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeldisaro%2Frust-functions-pure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5137917352ab3372fa594a72a4831b3d854882ab [INFO] testing michaeldisaro/rust-functions-pure against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeldisaro%2Frust-functions-pure" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/michaeldisaro/rust-functions-pure [INFO] finished tweaking git repo https://github.com/michaeldisaro/rust-functions-pure [INFO] tweaked toml for git repo https://github.com/michaeldisaro/rust-functions-pure written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaeldisaro/rust-functions-pure on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michaeldisaro/rust-functions-pure 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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 tokio v1.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d4b5d7f162ba1005d6b03db5f53612e3f3185b6aa06df04842f406e4a9aba83 [INFO] running `Command { std: "docker" "start" "-a" "9d4b5d7f162ba1005d6b03db5f53612e3f3185b6aa06df04842f406e4a9aba83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d4b5d7f162ba1005d6b03db5f53612e3f3185b6aa06df04842f406e4a9aba83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4b5d7f162ba1005d6b03db5f53612e3f3185b6aa06df04842f406e4a9aba83", kill_on_drop: false }` [INFO] [stdout] 9d4b5d7f162ba1005d6b03db5f53612e3f3185b6aa06df04842f406e4a9aba83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad3c29cb6432303f34d2d57d78100c46fbb84378b1629038cbd47ca186648532 [INFO] running `Command { std: "docker" "start" "-a" "ad3c29cb6432303f34d2d57d78100c46fbb84378b1629038cbd47ca186648532", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling handler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{http::Response, reject, Filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `urlencoding::encode as encode_url` [INFO] [stdout] --> src/cosmos.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use urlencoding::encode as encode_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GET` is never constructed [INFO] [stdout] --> src/cosmos.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CosmosVerb { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 10 | POST, [INFO] [stdout] 11 | GET, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cosmos.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum CosmosResurceType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 24 | Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | Container, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | StoredProcedures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | UserDefinedFunctions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Triggers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | Users, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Permissions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl NotificationChannel { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 18 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 32 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Category { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 51 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ad3c29cb6432303f34d2d57d78100c46fbb84378b1629038cbd47ca186648532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3c29cb6432303f34d2d57d78100c46fbb84378b1629038cbd47ca186648532", kill_on_drop: false }` [INFO] [stdout] ad3c29cb6432303f34d2d57d78100c46fbb84378b1629038cbd47ca186648532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b06de54c29fa7240354e217cd61e7c404ece7e88566a6c37cadbaedf700d1bd [INFO] running `Command { std: "docker" "start" "-a" "5b06de54c29fa7240354e217cd61e7c404ece7e88566a6c37cadbaedf700d1bd", kill_on_drop: false }` [INFO] [stderr] Compiling handler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{http::Response, reject, Filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `urlencoding::encode as encode_url` [INFO] [stdout] --> src/cosmos.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use urlencoding::encode as encode_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GET` is never constructed [INFO] [stdout] --> src/cosmos.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CosmosVerb { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 10 | POST, [INFO] [stdout] 11 | GET, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cosmos.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum CosmosResurceType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 24 | Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | Container, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | StoredProcedures, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | UserDefinedFunctions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Triggers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | Users, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Permissions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl NotificationChannel { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 18 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 32 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Category { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 51 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5b06de54c29fa7240354e217cd61e7c404ece7e88566a6c37cadbaedf700d1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b06de54c29fa7240354e217cd61e7c404ece7e88566a6c37cadbaedf700d1bd", kill_on_drop: false }` [INFO] [stdout] 5b06de54c29fa7240354e217cd61e7c404ece7e88566a6c37cadbaedf700d1bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae5e5f2fb894ed43762c2ad3ebaef2eee40112e1910ababe93b373a7b2db5df6 [INFO] running `Command { std: "docker" "start" "-a" "ae5e5f2fb894ed43762c2ad3ebaef2eee40112e1910ababe93b373a7b2db5df6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `http::Response` [INFO] [stderr] --> src/main.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use warp::{http::Response, reject, Filter}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `urlencoding::encode as encode_url` [INFO] [stderr] --> src/cosmos.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use urlencoding::encode as encode_url; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `GET` is never constructed [INFO] [stderr] --> src/cosmos.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum CosmosVerb { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 10 | POST, [INFO] [stderr] 11 | GET, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/cosmos.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum CosmosResurceType { [INFO] [stderr] | ----------------- variants in this enum [INFO] [stderr] 24 | Database, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 25 | Container, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 26 | StoredProcedures, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | UserDefinedFunctions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | Triggers, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 29 | Users, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 30 | Permissions, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/types.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 17 | impl NotificationChannel { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] 18 | fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/types.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl Scope { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 32 | fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/types.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 50 | impl Category { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 51 | fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `handler` (bin "handler" test) generated 7 warnings (run `cargo fix --bin "handler" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/handler-b0142246c471091d) [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" "ae5e5f2fb894ed43762c2ad3ebaef2eee40112e1910ababe93b373a7b2db5df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5e5f2fb894ed43762c2ad3ebaef2eee40112e1910ababe93b373a7b2db5df6", kill_on_drop: false }` [INFO] [stdout] ae5e5f2fb894ed43762c2ad3ebaef2eee40112e1910ababe93b373a7b2db5df6