[INFO] cloning repository https://github.com/fenhl/flauschbot [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 39d9b1a8191290403e15db57c65389cef0c9f664 [INFO] checking fenhl/flauschbot against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot" "/workspace/builds/worker-9/source"` [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 ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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-9/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83d38eb53364ee5f224fcd742fe9250dd9b0b2d234982b07e47aa0d854675627 [INFO] running `"docker" "start" "-a" "83d38eb53364ee5f224fcd742fe9250dd9b0b2d234982b07e47aa0d854675627"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.23 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking queryst v2.0.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [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] [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] 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] 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] 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] 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 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | router.post("/veto", veto); [INFO] [stderr] | ^^^^ expected 3 parameters [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] = note: expected type `rustc_serialize::json::Json` [INFO] [stderr] found type `serde_json::value::Value` [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 [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" "83d38eb53364ee5f224fcd742fe9250dd9b0b2d234982b07e47aa0d854675627"` [INFO] running `"docker" "rm" "-f" "83d38eb53364ee5f224fcd742fe9250dd9b0b2d234982b07e47aa0d854675627"` [INFO] [stdout] 83d38eb53364ee5f224fcd742fe9250dd9b0b2d234982b07e47aa0d854675627