[INFO] cloning repository https://github.com/anowell/servur [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fservur'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5e9495a193674beda9bba904d832f9ab948cde0c [INFO] testing anowell/servur against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanowell%2Fservur" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anowell/servur on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/anowell/servur already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nickel-org/nickel.rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf1008e18b61a77c12d62fa3af218d7947010d81dd1c80aa2e3d5425b03890e9 [INFO] running `"docker" "start" "-a" "bf1008e18b61a77c12d62fa3af218d7947010d81dd1c80aa2e3d5425b03890e9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling nickel v0.11.0 (https://github.com/nickel-org/nickel.rs.git#f1388afc) [INFO] [stderr] Compiling servur v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stderr] --> src/controller.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | use libc::funcs::posix88::signal::kill; [INFO] [stderr] | ^^^^^ could not find `funcs` in `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stderr] --> src/controller.rs:144:28 [INFO] [stderr] | [INFO] [stderr] 144 | "QUIT" => Ok(libc::consts::os::posix88::SIGQUIT), [INFO] [stderr] | ^^^^^^ could not find `consts` in `libc` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `kill` in this scope [INFO] [stderr] --> src/controller.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | unsafe { kill(pid, signal) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 3 | use libc::kill; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(libc)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use libc::pid_t; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:40:27 [INFO] [stderr] | [INFO] [stderr] 40 | pid: Arc>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | pid: Option [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | fn set_pid(&self, pid: Option) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/controller.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/controller.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/controller.rs:77:61 [INFO] [stderr] | [INFO] [stderr] 77 | Err(why) => panic!("couldn't spawn {}: {}", runner, Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/controller.rs:140:22 [INFO] [stderr] | [INFO] [stderr] 140 | "TERM" => Ok(libc::SIGTERM), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/controller.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | "KILL" => Ok(libc::SIGKILL), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] --> src/main.rs:103:41 [INFO] [stderr] | [INFO] [stderr] 103 | server.get("/status", app_handler(controller::get_status)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 'mw, 'conn> std::ops::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] = note: required because of the requirements on the impl of `nickel::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] --> src/main.rs:103:41 [INFO] [stderr] | [INFO] [stderr] 103 | server.get("/status", app_handler(controller::get_status)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] = note: required because of the requirements on the impl of `nickel::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] --> src/main.rs:104:41 [INFO] [stderr] | [INFO] [stderr] 104 | server.post("/run", app_handler(controller::post_run)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 'mw, 'conn> std::ops::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] = note: required because of the requirements on the impl of `nickel::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] --> src/main.rs:104:41 [INFO] [stderr] | [INFO] [stderr] 104 | server.post("/run", app_handler(controller::post_run)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] = note: required because of the requirements on the impl of `nickel::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] --> src/main.rs:105:41 [INFO] [stderr] | [INFO] [stderr] 105 | server.post("/signal/:signal", app_handler(controller::post_signal)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 'mw, 'conn> std::ops::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] = note: required because of the requirements on the impl of `nickel::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] --> src/main.rs:105:41 [INFO] [stderr] | [INFO] [stderr] 105 | server.post("/signal/:signal", app_handler(controller::post_signal)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&'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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] = note: required because of the requirements on the impl of `nickel::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, (), nickel::hyper::net::Streaming>>, nickel::NickelError<'a>>, Application)` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `content_type` found for struct `nickel::Response<'a>` in the current scope [INFO] [stderr] --> src/controller.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | response.content_type(MediaType::Json); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `content_type` found for struct `nickel::Response<'a>` in the current scope [INFO] [stderr] --> src/controller.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | response.content_type(MediaType::Json); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_ascii_uppercase` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/controller.rs:42:48 [INFO] [stderr] | [INFO] [stderr] 42 | let signal_param = request.param("signal").to_ascii_uppercase(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_status` found for struct `nickel::Response<'a>` in the current scope [INFO] [stderr] --> src/controller.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | response.set_status(Accepted); [INFO] [stderr] | ^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_status` found for struct `nickel::Response<'a>` in the current scope [INFO] [stderr] --> src/controller.rs:54:22 [INFO] [stderr] | [INFO] [stderr] 54 | response.set_status(BadRequest); [INFO] [stderr] | ^^^^^^^^^^ method not found in `nickel::Response<'a>` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/controller.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0433, E0554, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `servur`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bf1008e18b61a77c12d62fa3af218d7947010d81dd1c80aa2e3d5425b03890e9"` [INFO] running `"docker" "rm" "-f" "bf1008e18b61a77c12d62fa3af218d7947010d81dd1c80aa2e3d5425b03890e9"` [INFO] [stdout] bf1008e18b61a77c12d62fa3af218d7947010d81dd1c80aa2e3d5425b03890e9