[INFO] cloning repository https://github.com/Dstu93/webtemplate [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dstu93/webtemplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDstu93%2Fwebtemplate"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDstu93%2Fwebtemplate'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d8908e39a86e4d99fde97a0ddafd9fb4ed6d2fc8 [INFO] checking Dstu93/webtemplate against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDstu93%2Fwebtemplate" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dstu93/webtemplate on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Dstu93/webtemplate [INFO] finished tweaking git repo https://github.com/Dstu93/webtemplate [INFO] tweaked toml for git repo https://github.com/Dstu93/webtemplate written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Dstu93/webtemplate already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2a8e84fdff60041a8e97349c7c63cc3ae6d09739b7403dd27b5b66e027502998 [INFO] running `"docker" "start" "-a" "2a8e84fdff60041a8e97349c7c63cc3ae6d09739b7403dd27b5b66e027502998"` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking simple_web v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::example::CountController` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::example::CountController; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::example::CountController` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::example::CountController; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpController`, `StandardRequestProcessor`, `WebServer` [INFO] [stderr] --> src/main.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::web::{StandardRequestProcessor, HttpController, WebServer}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApplicationError`, `HttpController`, `HttpMethod`, `Middleware`, `RequestProcessor`, `WebServer` [INFO] [stderr] --> src/web_backend.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::{WebServer, ApplicationError, HttpController, Middleware, RequestProcessor, HttpRequest, HttpResponse, HttpMethod}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `Server` [INFO] [stderr] --> src/web_backend.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::{Request, Response, Server, Body, Error}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Add` [INFO] [stderr] --> src/example.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ops::{Add, AddAssign}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpController`, `StandardRequestProcessor`, `WebServer` [INFO] [stderr] --> src/main.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::web::{StandardRequestProcessor, HttpController, WebServer}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApplicationError`, `HttpController`, `HttpMethod`, `Middleware`, `RequestProcessor`, `WebServer` [INFO] [stderr] --> src/web_backend.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::{WebServer, ApplicationError, HttpController, Middleware, RequestProcessor, HttpRequest, HttpResponse, HttpMethod}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `Server` [INFO] [stderr] --> src/web_backend.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::{Request, Response, Server, Body, Error}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Add` [INFO] [stderr] --> src/example.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ops::{Add, AddAssign}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/main.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | let value = cnt.get(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | let req = sender.send(req); [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sender` [INFO] [stderr] --> src/main.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | let (sender,recv) = channel::(); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_sender` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `recv` [INFO] [stderr] --> src/main.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | let (sender,recv) = channel::(); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_recv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `recv` [INFO] [stderr] --> src/main.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | let (sender,recv) = crossbeam_channel::unbounded(); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_recv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rsp_sender` [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | let (rsp_sender,rsp_recv) = crossbeam_channel::unbounded::>(); [INFO] [stderr] | ^^^^^^^^^^ help: consider prefixing with an underscore: `_rsp_sender` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/main.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | let value = cnt.get(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | let req = sender.send(req); [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sender` [INFO] [stderr] --> src/main.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | let (sender,recv) = channel::(); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_sender` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `recv` [INFO] [stderr] --> src/main.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | let (sender,recv) = channel::(); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_recv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `recv` [INFO] [stderr] --> src/main.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | let (sender,recv) = crossbeam_channel::unbounded(); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_recv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rsp_sender` [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | let (rsp_sender,rsp_recv) = crossbeam_channel::unbounded::>(); [INFO] [stderr] | ^^^^^^^^^^ help: consider prefixing with an underscore: `_rsp_sender` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Done` [INFO] [stderr] --> src/web.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | Done, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Response` [INFO] [stderr] --> src/web.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | Response(HttpResponse), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ApplicationError` [INFO] [stderr] --> src/web.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | pub enum ApplicationError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/web.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn new() -> (BidirectionalChannel,BidirectionalChannel) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `send_n_receive` [INFO] [stderr] --> src/web.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | pub async fn send_n_receive(&self, i: I) -> O { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `send_n_receive_sync` [INFO] [stderr] --> src/web.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn send_n_receive_sync(&self,i: I) -> O { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `send` [INFO] [stderr] --> src/web.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn send(&self, input: I) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `recv` [INFO] [stderr] --> src/web.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | pub fn recv(&self) -> O { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RequestDispatcher` [INFO] [stderr] --> src/web.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub struct RequestDispatcher { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/web.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `register` [INFO] [stderr] --> src/web.rs:234:5 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn register(&mut self) -> BidirectionalChannel { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/example.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Done` [INFO] [stderr] --> src/web.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | Done, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Response` [INFO] [stderr] --> src/web.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | Response(HttpResponse), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ApplicationError` [INFO] [stderr] --> src/web.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | pub enum ApplicationError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/web.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn new() -> (BidirectionalChannel,BidirectionalChannel) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `send_n_receive` [INFO] [stderr] --> src/web.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | pub async fn send_n_receive(&self, i: I) -> O { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `send_n_receive_sync` [INFO] [stderr] --> src/web.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn send_n_receive_sync(&self,i: I) -> O { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `send` [INFO] [stderr] --> src/web.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn send(&self, input: I) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `recv` [INFO] [stderr] --> src/web.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | pub fn recv(&self) -> O { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RequestDispatcher` [INFO] [stderr] --> src/web.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub struct RequestDispatcher { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/web.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `register` [INFO] [stderr] --> src/web.rs:234:5 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn register(&mut self) -> BidirectionalChannel { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/example.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.08s [INFO] running `"docker" "inspect" "2a8e84fdff60041a8e97349c7c63cc3ae6d09739b7403dd27b5b66e027502998"` [INFO] running `"docker" "rm" "-f" "2a8e84fdff60041a8e97349c7c63cc3ae6d09739b7403dd27b5b66e027502998"` [INFO] [stdout] 2a8e84fdff60041a8e97349c7c63cc3ae6d09739b7403dd27b5b66e027502998