[INFO] updating cached repository https://github.com/kpsuperplane/boba
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 07ac3f6dee29995cb759ab662ac8f6c1984fa5ae
[INFO] checking kpsuperplane/boba against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpsuperplane%2Fboba" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kpsuperplane/boba on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kpsuperplane/boba already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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-0/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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 52328ebb2e50d54041f7fa0c557d049ac80cd429f9e0408b2b0483bc5bb42025
[INFO] running `"docker" "start" "-a" "52328ebb2e50d54041f7fa0c557d049ac80cd429f9e0408b2b0483bc5bb42025"`
[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]     Checking regex v0.2.6
[INFO] [stderr]    Compiling ncurses v5.91.0
[INFO] [stderr]     Checking serde_json v1.0.9
[INFO] [stderr]     Checking pancurses v0.14.0
[INFO] [stderr]     Checking boba v0.1.0 (/opt/rustwide/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]     ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.9/src/value/mod.rs:1018:8
[INFO] [stderr]      |
[INFO] [stderr] 1018 |     T: Serialize,
[INFO] [stderr]      |        --------- required by this bound in `serde_json::to_value`
[INFO] [stderr]      |
[INFO] [stderr]      = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&regex::Regex`
[INFO] [stderr]      = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[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]     ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.9/src/value/mod.rs:1018:8
[INFO] [stderr]      |
[INFO] [stderr] 1018 |     T: Serialize,
[INFO] [stderr]      |        --------- required by this bound in `serde_json::to_value`
[INFO] [stderr]      |
[INFO] [stderr]      = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&regex::Regex`
[INFO] [stderr]      = note: this error originates in a macro (in Nightly builds, run with -Z 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 `&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]    |                              ^^^^^^^ unknown field
[INFO] [stderr]    |
[INFO] [stderr]    = note: available fields are: `last_highlighted`, `patterns`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/highlighter.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 39 |         break;
[INFO] [stderr]    |         ----- any code following this expression is unreachable
[INFO] [stderr] 40 |         line = line[1..].to_string();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[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 `&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]    |                              ^^^^^^^ unknown field
[INFO] [stderr]    |
[INFO] [stderr]    = note: available fields are: `last_highlighted`, `patterns`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/highlighter.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 39 |         break;
[INFO] [stderr]    |         ----- any code following this expression is unreachable
[INFO] [stderr] 40 |         line = line[1..].to_string();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[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" "52328ebb2e50d54041f7fa0c557d049ac80cd429f9e0408b2b0483bc5bb42025"`
[INFO] running `"docker" "rm" "-f" "52328ebb2e50d54041f7fa0c557d049ac80cd429f9e0408b2b0483bc5bb42025"`
[INFO] [stdout] 52328ebb2e50d54041f7fa0c557d049ac80cd429f9e0408b2b0483bc5bb42025
