[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] testing fenhl/flauschbot against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenhl%2Fflauschbot" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fenhl/flauschbot on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-5/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" "+1.45.2" "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-5/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" "+1.45.2" "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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92b1b1641bdce6a230f5ef04232998fbc85b79b816b902fcbd62c5dd161d9d91 [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" "92b1b1641bdce6a230f5ef04232998fbc85b79b816b902fcbd62c5dd161d9d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92b1b1641bdce6a230f5ef04232998fbc85b79b816b902fcbd62c5dd161d9d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b1b1641bdce6a230f5ef04232998fbc85b79b816b902fcbd62c5dd161d9d91", kill_on_drop: false }` [INFO] [stdout] 92b1b1641bdce6a230f5ef04232998fbc85b79b816b902fcbd62c5dd161d9d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3c29d328051848075a769f31204785c44662e2bf5f8bb02af39c04405b7deac [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" "b3c29d328051848075a769f31204785c44662e2bf5f8bb02af39c04405b7deac", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.34+curl-7.71.1 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [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] [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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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::WebhookError::from(e.description()), status::InternalServerError))); [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 item '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 item '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" "b3c29d328051848075a769f31204785c44662e2bf5f8bb02af39c04405b7deac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c29d328051848075a769f31204785c44662e2bf5f8bb02af39c04405b7deac", kill_on_drop: false }` [INFO] [stdout] b3c29d328051848075a769f31204785c44662e2bf5f8bb02af39c04405b7deac