[INFO] cloning repository https://github.com/kpsuperplane/boba [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpsuperplane/boba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpsuperplane%2Fboba", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpsuperplane%2Fboba'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07ac3f6dee29995cb759ab662ac8f6c1984fa5ae [INFO] testing kpsuperplane/boba against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpsuperplane%2Fboba" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpsuperplane/boba on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kpsuperplane/boba [INFO] finished tweaking git repo https://github.com/kpsuperplane/boba [INFO] tweaked toml for git repo https://github.com/kpsuperplane/boba written to /workspace/builds/worker-82/source/Cargo.toml [INFO] crate git repo https://github.com/kpsuperplane/boba already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] * /workspace/builds/worker-82/source/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] 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-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ac98a4e200605b09c8c7fe74e70e452b789c2c37c2d58190dd7767570291554 [INFO] running `Command { std: "docker" "start" "-a" "8ac98a4e200605b09c8c7fe74e70e452b789c2c37c2d58190dd7767570291554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ac98a4e200605b09c8c7fe74e70e452b789c2c37c2d58190dd7767570291554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac98a4e200605b09c8c7fe74e70e452b789c2c37c2d58190dd7767570291554", kill_on_drop: false }` [INFO] [stdout] 8ac98a4e200605b09c8c7fe74e70e452b789c2c37c2d58190dd7767570291554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a15605b91aa36ac1e428b2d4412fdbc29ce415d08365c69c31606105f86230c6 [INFO] running `Command { std: "docker" "start" "-a" "a15605b91aa36ac1e428b2d4412fdbc29ce415d08365c69c31606105f86230c6", kill_on_drop: false }` [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/rustwide/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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling pancurses v0.14.0 [INFO] [stderr] Compiling boba v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `regex::Regex: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/highlighter.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pattern["re"] = json!(Regex::new(pattern["match"].as_str().unwrap()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `regex::Regex` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `®ex::Regex` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.9/src/value/mod.rs:1018:8 [INFO] [stdout] | [INFO] [stdout] 1018 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/highlighter.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | &self.patterns.push(pattern); [INFO] [stdout] | ^^^^^^^ expected enum `Value`, found `&Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `grammar` on type `&Highlighter` [INFO] [stdout] --> src/highlighter.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | for pattern in &self.grammar["patterns"] { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `last_highlighted`, `patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/highlighter.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 40 | line = line[1..].to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `patterns` in initializer of `Highlighter` [INFO] [stdout] --> src/highlighter.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let highlighter = Highlighter {last_highlighted: 0}; [INFO] [stdout] | ^^^^^^^^^^^ missing `patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boba` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a15605b91aa36ac1e428b2d4412fdbc29ce415d08365c69c31606105f86230c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15605b91aa36ac1e428b2d4412fdbc29ce415d08365c69c31606105f86230c6", kill_on_drop: false }` [INFO] [stdout] a15605b91aa36ac1e428b2d4412fdbc29ce415d08365c69c31606105f86230c6