[INFO] cloning repository https://github.com/Samotron/ags_parse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Samotron/ags_parse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamotron%2Fags_parse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamotron%2Fags_parse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce1cabc10b7e480d037bf4bd4d31dddf61d7e4fd [INFO] checking Samotron/ags_parse/ce1cabc10b7e480d037bf4bd4d31dddf61d7e4fd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamotron%2Fags_parse" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Samotron/ags_parse on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Samotron/ags_parse [INFO] finished tweaking git repo https://github.com/Samotron/ags_parse [INFO] tweaked toml for git repo https://github.com/Samotron/ags_parse written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Samotron/ags_parse already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d99e3399efc8a57b3c6b4eaf07ce5149d6911495b9775ea1b36e301df3175641 [INFO] running `Command { std: "docker" "start" "-a" "d99e3399efc8a57b3c6b4eaf07ce5149d6911495b9775ea1b36e301df3175641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d99e3399efc8a57b3c6b4eaf07ce5149d6911495b9775ea1b36e301df3175641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99e3399efc8a57b3c6b4eaf07ce5149d6911495b9775ea1b36e301df3175641", kill_on_drop: false }` [INFO] [stdout] d99e3399efc8a57b3c6b4eaf07ce5149d6911495b9775ea1b36e301df3175641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 652907f229eb4f08bb97c4ea254933f989abadaefbc62d39a97cc5a1c81ec0bd [INFO] running `Command { std: "docker" "start" "-a" "652907f229eb4f08bb97c4ea254933f989abadaefbc62d39a97cc5a1c81ec0bd", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking ags_parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/parser.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | using regex:Regex; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 1 | using regex::Regex; [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/parser.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | using regex:Regex; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 1 | using regex::Regex; [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `using` [INFO] [stdout] --> src/parser.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | using regex:Regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: items are imported using the `use` keyword [INFO] [stdout] | [INFO] [stdout] 1 | use regex:Regex; [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `using` [INFO] [stdout] --> src/parser.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | using regex:Regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: items are imported using the `use` keyword [INFO] [stdout] | [INFO] [stdout] 1 | use regex:Regex; [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/parser.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | println!(file); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", file); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/parser.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | println!(file); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", file); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `ags_parser` is private [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | parser::ags_parser(contents); [INFO] [stdout] | ^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `ags_parser` is defined here [INFO] [stdout] --> src/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `ags_parser` is private [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | parser::ags_parser(contents); [INFO] [stdout] | ^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `ags_parser` is defined here [INFO] [stdout] --> src/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex:Regex` [INFO] [stdout] --> src/parser.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | using regex:Regex; [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/parser.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | using regex:Regex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/parser.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: str) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: &str) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/parser.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: str) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: &str) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | parser::ags_parser(contents); [INFO] [stdout] | ------------------ ^^^^^^^^ expected `str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parser.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: str) { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | parser::ags_parser(contents); [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | parser::ags_parser(contents); [INFO] [stdout] | ------------------ ^^^^^^^^ expected `str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parser.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn ags_parser(file: str) { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | parser::ags_parser(contents); [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ags_parse` (bin "ags_parse") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ags_parse` (bin "ags_parse" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "652907f229eb4f08bb97c4ea254933f989abadaefbc62d39a97cc5a1c81ec0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "652907f229eb4f08bb97c4ea254933f989abadaefbc62d39a97cc5a1c81ec0bd", kill_on_drop: false }` [INFO] [stdout] 652907f229eb4f08bb97c4ea254933f989abadaefbc62d39a97cc5a1c81ec0bd