[INFO] updating cached repository https://github.com/fenhl/flauschbot [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] 39d9b1a8191290403e15db57c65389cef0c9f664 [INFO] testing fenhl/flauschbot against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fenhl/flauschbot 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/fenhl/flauschbot [INFO] finished tweaking git repo https://github.com/fenhl/flauschbot [INFO] tweaked toml for git repo https://github.com/fenhl/flauschbot written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/fenhl/flauschbot 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-8/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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 7f2f844e6132c16e91f043ff6eca031b127296aacb5a74225128eff00fd9d6b7 [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" "7f2f844e6132c16e91f043ff6eca031b127296aacb5a74225128eff00fd9d6b7"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling queryst v2.0.2 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling flauschbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: couldn't read src/../assets/config.json: No such file or directory (os error 2) [INFO] [stderr] --> src/main.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | static ref CONFIG: Config = json::decode(include_str!("../assets/config.json")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `curl::http` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use curl::http; [INFO] [stderr] | ^^^^^^^^^^ no `http` in the root [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/cmd.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | try!(req.body.read_to_string(&mut body_string)); [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/cmd.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let body_json = try!(queryst::parse(&body_string)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/cmd.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | let result = try!(SlashCommand::decode(&mut decoder)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/error.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | try!(fmt::Display::fmt($msg, f)); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | / errors! { [INFO] [stderr] 84 | | AuthError("authentication error"); [INFO] [stderr] 85 | | SlashCommandError("slash command error"); [INFO] [stderr] 86 | | WebhookError("error while trying to call Slack incoming webhook"); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/error.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | try!(fmt::Display::fmt(": ", f)); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | / errors! { [INFO] [stderr] 84 | | AuthError("authentication error"); [INFO] [stderr] 85 | | SlashCommandError("slash command error"); [INFO] [stderr] 86 | | WebhookError("error while trying to call Slack incoming webhook"); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/error.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | try!(fmt::Display::fmt(msg, f)); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | / errors! { [INFO] [stderr] 84 | | AuthError("authentication error"); [INFO] [stderr] 85 | | SlashCommandError("slash command error"); [INFO] [stderr] 86 | | WebhookError("error while trying to call Slack incoming webhook"); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | let cmd = try!(req.get::()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | let response = try!(http::handle().post(&CONFIG.incoming_webhook[..], &request_body).exec().map_err(|e| IronError::new(error::WebhookError::from(e.description()), status::InternalServerError))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/cmd.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | router.post("/veto", veto); [INFO] [stderr] | ^^^^ ------- ---- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/cmd.rs:39:46 [INFO] [stderr] | [INFO] [stderr] 39 | let mut decoder = json::Decoder::new(body_json); [INFO] [stderr] | ^^^^^^^^^ expected enum `rustc_serialize::json::Json`, found enum `serde_json::value::Value` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:70:57 [INFO] [stderr] | [INFO] [stderr] 70 | format!("{} ({})", stringify!($from), e.description()).into() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | convert_error! { io::Error => SlashCommandError } [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:70:57 [INFO] [stderr] | [INFO] [stderr] 70 | format!("{} ({})", stringify!($from), e.description()).into() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | convert_error! { json::DecoderError => SlashCommandError } [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `flauschbot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7f2f844e6132c16e91f043ff6eca031b127296aacb5a74225128eff00fd9d6b7"` [INFO] running `"docker" "rm" "-f" "7f2f844e6132c16e91f043ff6eca031b127296aacb5a74225128eff00fd9d6b7"` [INFO] [stdout] 7f2f844e6132c16e91f043ff6eca031b127296aacb5a74225128eff00fd9d6b7