[INFO] updating cached repository kpsuperplane/boba [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kpsuperplane/boba [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kpsuperplane/boba" "work/ex/beta-1.38-1/sources/1.37.0/gh/kpsuperplane/boba"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/kpsuperplane/boba'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kpsuperplane/boba" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kpsuperplane/boba"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kpsuperplane/boba'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 07ac3f6dee29995cb759ab662ac8f6c1984fa5ae [INFO] sha for GitHub repo kpsuperplane/boba: 07ac3f6dee29995cb759ab662ac8f6c1984fa5ae [INFO] validating manifest of kpsuperplane/boba on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kpsuperplane/boba on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kpsuperplane/boba [INFO] finished frobbing kpsuperplane/boba [INFO] frobbed toml for kpsuperplane/boba written to work/ex/beta-1.38-1/sources/1.37.0/gh/kpsuperplane/boba/Cargo.toml [INFO] started frobbing kpsuperplane/boba [INFO] finished frobbing kpsuperplane/boba [INFO] frobbed toml for kpsuperplane/boba written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kpsuperplane/boba/Cargo.toml [INFO] crate kpsuperplane/boba already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing kpsuperplane/boba against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/kpsuperplane/boba:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 42b17c81d5c5254444ad4efc0dd6c37acb0ad4978a8ece9ced309fccaa8bb7c8 [INFO] running `"docker" "start" "-a" "42b17c81d5c5254444ad4efc0dd6c37acb0ad4978a8ece9ced309fccaa8bb7c8"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling pancurses v0.14.0 [INFO] [stderr] Compiling boba v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0277]: the trait bound `regex::Regex: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/highlighter.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | pattern["re"] = json!(Regex::new(pattern["match"].as_str().unwrap()).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `regex::Regex` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `®ex::Regex` [INFO] [stderr] = note: required by `serde_json::to_value` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/highlighter.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | &self.patterns.push(pattern); [INFO] [stderr] | ^^^^^^^ expected enum `serde_json::Value`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `serde_json::Value` [INFO] [stderr] found type `&serde_json::Value` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `grammar` on type `&Highlighter` [INFO] [stderr] --> src/highlighter.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | for pattern in &self.grammar["patterns"] { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/highlighter.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | line = line[1..].to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unreachable_code)] on by default [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `patterns` in initializer of `Highlighter` [INFO] [stderr] --> src/highlighter.rs:72:21 [INFO] [stderr] | [INFO] [stderr] 72 | let highlighter = Highlighter {last_highlighted: 0}; [INFO] [stderr] | ^^^^^^^^^^^ missing `patterns` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0063, E0277, E0308, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0063`. [INFO] [stderr] error: Could not compile `boba`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "42b17c81d5c5254444ad4efc0dd6c37acb0ad4978a8ece9ced309fccaa8bb7c8"` [INFO] running `"docker" "rm" "-f" "42b17c81d5c5254444ad4efc0dd6c37acb0ad4978a8ece9ced309fccaa8bb7c8"` [INFO] [stdout] 42b17c81d5c5254444ad4efc0dd6c37acb0ad4978a8ece9ced309fccaa8bb7c8