[INFO] updating cached repository https://github.com/ghl3/hermes [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 79fa0bec5bd14fb3ef317a56d7ef25d75860ef5f [INFO] testing ghl3/hermes against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghl3%2Fhermes" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ghl3/hermes 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/ghl3/hermes [INFO] finished tweaking git repo https://github.com/ghl3/hermes [INFO] tweaked toml for git repo https://github.com/ghl3/hermes written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ghl3/hermes 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-11/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] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] 270295e3d96ae2cb1bef73b5f29df4b3c992e68679a0a8bcb0a48b30d5299aa6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "270295e3d96ae2cb1bef73b5f29df4b3c992e68679a0a8bcb0a48b30d5299aa6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling url v0.2.38 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling tiny_http v0.5.9 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling hermes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(slice_patterns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/router.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | let url = try!(get_url(request)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/router.rs:80:24 [INFO] [stderr] | [INFO] [stderr] 80 | let json = try!(get_body_as_json(&mut request)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/router.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | try!(request.as_reader().read_to_string(&mut content)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/router.rs:165:22 [INFO] [stderr] | [INFO] [stderr] 165 | let json: Json = try!(Json::from_str(&content)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/router.rs:171:8 [INFO] [stderr] | [INFO] [stderr] 171 | Ok(try!(url_parser::parse_url_resource(request.url()))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/table.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | let table = try!(self.get_mut_table(table)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/table.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | let table = try!(self.get_table(table)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/table.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let table = try!(self.get_mut_table(table)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ok` [INFO] [stderr] --> src/router.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use http::{ok, http_response}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/url_parser.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | if (location.len() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/url_parser.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | } else if (location.chars().nth(0).unwrap() != '/') { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/url_parser.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | if (query == "") { [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/url_parser.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | if (param_pair_split.len() != 2) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `rustc_serialize::json` [INFO] [stderr] --> src/api.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rustc_serialize::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/table.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | if (self.data.contains_key(table)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/table.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | if (table.contains_key(key)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/router.rs:136:53 [INFO] [stderr] | [INFO] [stderr] 136 | RequestError::ReadError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/router.rs:137:58 [INFO] [stderr] | [INFO] [stderr] 137 | RequestError::JsonParseError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/router.rs:138:57 [INFO] [stderr] | [INFO] [stderr] 138 | RequestError::UrlParseError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/router.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/router.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 21 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: could not compile `hermes`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "270295e3d96ae2cb1bef73b5f29df4b3c992e68679a0a8bcb0a48b30d5299aa6"` [INFO] running `"docker" "rm" "-f" "270295e3d96ae2cb1bef73b5f29df4b3c992e68679a0a8bcb0a48b30d5299aa6"` [INFO] [stdout] 270295e3d96ae2cb1bef73b5f29df4b3c992e68679a0a8bcb0a48b30d5299aa6