[INFO] cloning repository https://github.com/fenhl/flauschbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fenhl/flauschbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39d9b1a8191290403e15db57c65389cef0c9f664 [INFO] checking fenhl/flauschbot against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fenhl/flauschbot on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/fenhl/flauschbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-9/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queryst v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06ffe9035e3ea456659ecbef4f923d072447c636b20a3330c26aba3f0f090c4d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "06ffe9035e3ea456659ecbef4f923d072447c636b20a3330c26aba3f0f090c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06ffe9035e3ea456659ecbef4f923d072447c636b20a3330c26aba3f0f090c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ffe9035e3ea456659ecbef4f923d072447c636b20a3330c26aba3f0f090c4d", kill_on_drop: false }` [INFO] [stdout] 06ffe9035e3ea456659ecbef4f923d072447c636b20a3330c26aba3f0f090c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e66a8bd1861a648c9fb6a529233e5c5fa375718743a1ce2339117f7627baf11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4e66a8bd1861a648c9fb6a529233e5c5fa375718743a1ce2339117f7627baf11", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking queryst v2.0.2 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking flauschbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../assets/config.json: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | static ref CONFIG: Config = json::decode(include_str!("../assets/config.json")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curl::http` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use curl::http; [INFO] [stdout] | ^^^^^^^^^^ no `http` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmd.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(req.body.read_to_string(&mut body_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmd.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let body_json = try!(queryst::parse(&body_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cmd.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = try!(SlashCommand::decode(&mut decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | try!(fmt::Display::fmt($msg, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | / errors! { [INFO] [stdout] 84 | | AuthError("authentication error"); [INFO] [stdout] 85 | | SlashCommandError("slash command error"); [INFO] [stdout] 86 | | WebhookError("error while trying to call Slack incoming webhook"); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | try!(fmt::Display::fmt(": ", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | / errors! { [INFO] [stdout] 84 | | AuthError("authentication error"); [INFO] [stdout] 85 | | SlashCommandError("slash command error"); [INFO] [stdout] 86 | | WebhookError("error while trying to call Slack incoming webhook"); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | try!(fmt::Display::fmt(msg, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | / errors! { [INFO] [stdout] 84 | | AuthError("authentication error"); [INFO] [stdout] 85 | | SlashCommandError("slash command error"); [INFO] [stdout] 86 | | WebhookError("error while trying to call Slack incoming webhook"); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let cmd = try!(req.get::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let response = try!(http::handle().post(&CONFIG.incoming_webhook[..], &request_body).exec().map_err(|e| IronError::new(error::Webhook... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | router.post("/veto", veto); [INFO] [stdout] | ^^^^ ------- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cmd.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | let mut decoder = json::Decoder::new(body_json); [INFO] [stdout] | ^^^^^^^^^ expected enum `rustc_serialize::json::Json`, found enum `serde_json::value::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:70:57 [INFO] [stdout] | [INFO] [stdout] 70 | format!("{} ({})", stringify!($from), e.description()).into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | convert_error! { io::Error => SlashCommandError } [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:70:57 [INFO] [stdout] | [INFO] [stdout] 70 | format!("{} ({})", stringify!($from), e.description()).into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | convert_error! { json::DecoderError => SlashCommandError } [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flauschbot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4e66a8bd1861a648c9fb6a529233e5c5fa375718743a1ce2339117f7627baf11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e66a8bd1861a648c9fb6a529233e5c5fa375718743a1ce2339117f7627baf11", kill_on_drop: false }` [INFO] [stdout] 4e66a8bd1861a648c9fb6a529233e5c5fa375718743a1ce2339117f7627baf11