[INFO] cloning repository https://github.com/anowell/servur [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anowell/servur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fservur", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fservur'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e9495a193674beda9bba904d832f9ab948cde0c [INFO] checking anowell/servur against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fservur" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anowell/servur on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anowell/servur [INFO] finished tweaking git repo https://github.com/anowell/servur [INFO] tweaked toml for git repo https://github.com/anowell/servur written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/anowell/servur already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nickel-org/nickel.rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c07575fba9fc3e39a530f78bb040eaf32301f13001bb82519e77822128e69d18 [INFO] running `Command { std: "docker" "start" "-a" "c07575fba9fc3e39a530f78bb040eaf32301f13001bb82519e77822128e69d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c07575fba9fc3e39a530f78bb040eaf32301f13001bb82519e77822128e69d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07575fba9fc3e39a530f78bb040eaf32301f13001bb82519e77822128e69d18", kill_on_drop: false }` [INFO] [stdout] c07575fba9fc3e39a530f78bb040eaf32301f13001bb82519e77822128e69d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc2d521a9f7d37134828ef75b3a04fa18e56ae49af7258207220ba19c437151c [INFO] running `Command { std: "docker" "start" "-a" "cc2d521a9f7d37134828ef75b3a04fa18e56ae49af7258207220ba19c437151c", kill_on_drop: false }` [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking nickel v0.11.0 (https://github.com/nickel-org/nickel.rs.git#f1388afc) [INFO] [stderr] Checking servur v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/controller.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::funcs::posix88::signal::kill; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/controller.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | "QUIT" => Ok(libc::consts::os::posix88::SIGQUIT), [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kill` in this scope [INFO] [stdout] --> src/controller.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { kill(pid, signal) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use libc::kill; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/controller.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::funcs::posix88::signal::kill; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use libc::pid_t; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | pid: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pid: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_pid(&self, pid: Option) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/controller.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/controller.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | Err(why) => panic!("couldn't spawn {}: {}", runner, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/controller.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | "TERM" => Ok(libc::SIGTERM), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/controller.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | "KILL" => Ok(libc::SIGKILL), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/controller.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | "QUIT" => Ok(libc::consts::os::posix88::SIGQUIT), [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kill` in this scope [INFO] [stdout] --> src/controller.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { kill(pid, signal) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use libc::kill; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use libc::pid_t; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | pid: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pid: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_pid(&self, pid: Option) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/controller.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/controller.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | Err(why) => panic!("couldn't spawn {}: {}", runner, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/controller.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | "TERM" => Ok(libc::SIGTERM), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/controller.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | "KILL" => Ok(libc::SIGKILL), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] --> src/main.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | server.get("/status", app_handler(controller::get_status)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 'mw, 'conn> Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] = note: required because of the requirements on the impl of `Middleware<()>` for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] --> src/main.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | server.get("/status", app_handler(controller::get_status)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 'mw, 'conn> Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] = note: required because of the requirements on the impl of `Middleware<()>` for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] --> src/main.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | server.post("/run", app_handler(controller::post_run)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 'mw, 'conn> Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] = note: required because of the requirements on the impl of `Middleware<()>` for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] --> src/main.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | server.post("/run", app_handler(controller::post_run)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 'mw, 'conn> Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] = note: required because of the requirements on the impl of `Middleware<()>` for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] --> src/main.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | server.post("/signal/:signal", app_handler(controller::post_signal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 'mw, 'conn> Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] = note: required because of the requirements on the impl of `Middleware<()>` for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] --> src/main.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | server.post("/signal/:signal", app_handler(controller::post_signal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` closure, found `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 'mw, 'conn> Fn<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] = note: required because of the requirements on the impl of `Middleware<()>` for `(for<'r, 's, 't0, 'a, 't1> fn(&'r mut nickel::Request<'s, 't0>, nickel::Response<'a>, &'t1 Application) -> std::result::Result, nickel::Response<'a, (), Streaming>>, NickelError<'a>>, Application)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | response.content_type(MediaType::Json); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | response.content_type(MediaType::Json); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | response.content_type(MediaType::Json); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | response.content_type(MediaType::Json); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii_uppercase` found for enum `Option<&str>` in the current scope [INFO] [stdout] --> src/controller.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | let signal_param = request.param("signal").to_ascii_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii_uppercase` found for enum `Option<&str>` in the current scope [INFO] [stdout] --> src/controller.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | let signal_param = request.param("signal").to_ascii_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_status` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | response.set_status(Accepted); [INFO] [stdout] | ^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_status` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | response.set_status(Accepted); [INFO] [stdout] | ^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_status` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | response.set_status(BadRequest); [INFO] [stdout] | ^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_status` found for struct `nickel::Response<'a>` in the current scope [INFO] [stdout] --> src/controller.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | response.set_status(BadRequest); [INFO] [stdout] | ^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `servur` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cc2d521a9f7d37134828ef75b3a04fa18e56ae49af7258207220ba19c437151c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2d521a9f7d37134828ef75b3a04fa18e56ae49af7258207220ba19c437151c", kill_on_drop: false }` [INFO] [stdout] cc2d521a9f7d37134828ef75b3a04fa18e56ae49af7258207220ba19c437151c