[INFO] cloning repository https://github.com/volundmush/forge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volundmush/forge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fforge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fforge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0358ee2767336d03c2df4aec45dd7b9b9a151bf1 [INFO] testing volundmush/forge against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fforge" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/volundmush/forge on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/volundmush/forge [INFO] finished tweaking git repo https://github.com/volundmush/forge [INFO] tweaked toml for git repo https://github.com/volundmush/forge written to /workspace/builds/worker-56/source/Cargo.toml [INFO] crate git repo https://github.com/volundmush/forge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69f21b297a9818516640c986f89da9e025cdff35fed71d8e36616ca952ec73d1 [INFO] running `Command { std: "docker" "start" "-a" "69f21b297a9818516640c986f89da9e025cdff35fed71d8e36616ca952ec73d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f21b297a9818516640c986f89da9e025cdff35fed71d8e36616ca952ec73d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f21b297a9818516640c986f89da9e025cdff35fed71d8e36616ca952ec73d1", kill_on_drop: false }` [INFO] [stdout] 69f21b297a9818516640c986f89da9e025cdff35fed71d8e36616ca952ec73d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f97973be4f4dff7c4140504b11349fea048d1105a0909508406556867da783d0 [INFO] running `Command { std: "docker" "start" "-a" "f97973be4f4dff7c4140504b11349fea048d1105a0909508406556867da783d0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling forge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/ansi.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_static::lazy_static [INFO] [stdout] = note: `lazy_static` is in scope, but it is a crate, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `LinkedList` [INFO] [stdout] --> src/ansi.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{LinkedList, HashMap}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/ansi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for type parameter `impl Into` in the current scope [INFO] [stdout] --> src/ansi.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | let mut map = Vec::with_capacity(src.len()); [INFO] [stdout] | ^^^ method not found in `impl Into` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `len`, perhaps you need to restrict type parameter `impl Into` with one of them: [INFO] [stdout] | [INFO] [stdout] 124 | pub fn from_markup(src: impl Into + ExactSizeIterator) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 124 | pub fn from_markup(src: impl Into + Input) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From>` is not satisfied [INFO] [stdout] --> src/ansi.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let mut original = String::from(src); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `From>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 123 | impl AnsiString where String: From> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/ansi.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Self.setup_markup(m); [INFO] [stdout] | ^^^^ help: use curly brackets: `Self { /* fields */ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:222:77 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn from_codes(codes: impl Into, text: impl Into) -> Result { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | fn setup_markup(&mut m: Markup) -> Result<(), String> { [INFO] [stdout] | ^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected struct `Markup`, found `&mut _` [INFO] [stdout] | help: did you mean `m`: `&Markup` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Markup` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn encode(&self) -> String { [INFO] [stdout] | ------ ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:245:72 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn render_telnet(&self, ansi: bool, xterm: bool, mxp: bool) -> String { [INFO] [stdout] | ------------- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnsiMode: Clone` is not satisfied [INFO] [stdout] --> src/ansi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | pub ansi_fg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AnsiMode` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnsiMode: Clone` is not satisfied [INFO] [stdout] --> src/ansi.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | pub ansi_bg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AnsiMode` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnsiMode` doesn't implement `Debug` [INFO] [stdout] --> src/ansi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | pub ansi_fg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnsiMode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnsiMode` [INFO] [stdout] = note: add `#[derive(Debug)]` to `AnsiMode` or manually `impl Debug for AnsiMode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnsiMode` doesn't implement `Debug` [INFO] [stdout] --> src/ansi.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | pub ansi_bg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnsiMode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnsiMode` [INFO] [stdout] = note: add `#[derive(Debug)]` to `AnsiMode` or manually `impl Debug for AnsiMode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forge` due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f97973be4f4dff7c4140504b11349fea048d1105a0909508406556867da783d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97973be4f4dff7c4140504b11349fea048d1105a0909508406556867da783d0", kill_on_drop: false }` [INFO] [stdout] f97973be4f4dff7c4140504b11349fea048d1105a0909508406556867da783d0