[INFO] cloning repository https://github.com/afterparty/rispy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afterparty/rispy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafterparty%2Frispy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafterparty%2Frispy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c939f1337ec031028a1634fda9e9a5f2d43d66ff [INFO] checking afterparty/rispy against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafterparty%2Frispy" "/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/afterparty/rispy 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/afterparty/rispy [INFO] finished tweaking git repo https://github.com/afterparty/rispy [INFO] tweaked toml for git repo https://github.com/afterparty/rispy written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/afterparty/rispy 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] Blocking waiting for file lock on package cache [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] 659bce346ac08fa2769495fda41e2a51b4250e505312a67c15f3ffe515295df5 [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" "659bce346ac08fa2769495fda41e2a51b4250e505312a67c15f3ffe515295df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "659bce346ac08fa2769495fda41e2a51b4250e505312a67c15f3ffe515295df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659bce346ac08fa2769495fda41e2a51b4250e505312a67c15f3ffe515295df5", kill_on_drop: false }` [INFO] [stdout] 659bce346ac08fa2769495fda41e2a51b4250e505312a67c15f3ffe515295df5 [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] 376c235a02eb7fd9d230cae3c311d4d81780089c8709190b1a9ca775cf6d3b09 [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" "376c235a02eb7fd9d230cae3c311d4d81780089c8709190b1a9ca775cf6d3b09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.50.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace v0.3.33 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let mut r: *mpc_result_t; [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let mut r: *mpc_result_t; [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | if (result < 0) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | if (result < 0) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:89 [INFO] [stdout] | [INFO] [stdout] 80 | let result = mpc_parse(stdin_string.as_ptr(), lispy_string.as_ptr(), lispy, r); [INFO] [stdout] | ^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut mpc_result_t` [INFO] [stdout] found raw pointer `*const mpc_result_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 73 | / loop { [INFO] [stdout] 74 | | print!("rispy> "); [INFO] [stdout] 75 | | io::stdout().flush().unwrap(); [INFO] [stdout] 76 | | let mut r: *mpc_result_t; [INFO] [stdout] ... | [INFO] [stdout] 87 | | //print!("{}", input); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 89 | [INFO] [stdout] 90 | / unsafe { [INFO] [stdout] 91 | | mpc_cleanup(4, number, op, expr, lispy); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:89 [INFO] [stdout] | [INFO] [stdout] 80 | let result = mpc_parse(stdin_string.as_ptr(), lispy_string.as_ptr(), lispy, r); [INFO] [stdout] | ^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut mpc_result_t` [INFO] [stdout] found raw pointer `*const mpc_result_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 73 | / loop { [INFO] [stdout] 74 | | print!("rispy> "); [INFO] [stdout] 75 | | io::stdout().flush().unwrap(); [INFO] [stdout] 76 | | let mut r: *mpc_result_t; [INFO] [stdout] ... | [INFO] [stdout] 87 | | //print!("{}", input); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 89 | [INFO] [stdout] 90 | / unsafe { [INFO] [stdout] 91 | | mpc_cleanup(4, number, op, expr, lispy); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `__mbstate_t__bindgen_ty_1` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/target/debug/build/interpreter-88962284f7218088/out/bindings.rs:3:20210 [INFO] [stdout] | [INFO] [stdout] 3 | ...: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `__mbstate_t__bindgen_ty_1` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `__mbstate_t__bindgen_ty_1` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&__mbstate_t__bindgen_ty_1` [INFO] [stdout] = note: required for the cast to the object type `dyn Debug` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `__mbstate_t__bindgen_ty_1` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/target/debug/build/interpreter-88962284f7218088/out/bindings.rs:3:20210 [INFO] [stdout] | [INFO] [stdout] 3 | ...: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `__mbstate_t__bindgen_ty_1` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `__mbstate_t__bindgen_ty_1` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&__mbstate_t__bindgen_ty_1` [INFO] [stdout] = note: required for the cast to the object type `dyn Debug` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interpreter` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "376c235a02eb7fd9d230cae3c311d4d81780089c8709190b1a9ca775cf6d3b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "376c235a02eb7fd9d230cae3c311d4d81780089c8709190b1a9ca775cf6d3b09", kill_on_drop: false }` [INFO] [stdout] 376c235a02eb7fd9d230cae3c311d4d81780089c8709190b1a9ca775cf6d3b09