[INFO] cloning repository https://github.com/AmaranthineCodices/rust-cc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmaranthineCodices/rust-cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaranthineCodices%2Frust-cc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaranthineCodices%2Frust-cc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aadbf5067e0dfab4adc806fbef40ba0dde6b67b9
[INFO] testing AmaranthineCodices/rust-cc against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaranthineCodices%2Frust-cc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AmaranthineCodices/rust-cc
[INFO] finished tweaking git repo https://github.com/AmaranthineCodices/rust-cc
[INFO] tweaked toml for git repo https://github.com/AmaranthineCodices/rust-cc written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AmaranthineCodices/rust-cc on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AmaranthineCodices/rust-cc 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazy_static v1.0.0
[INFO] [stderr]   Downloaded aho-corasick v0.6.4
[INFO] [stderr]   Downloaded libc v0.2.40
[INFO] [stderr]   Downloaded regex-syntax v0.5.3
[INFO] [stderr]   Downloaded regex v0.2.10
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3bf2499c8ed614f968840a90b4bc498e8e406a5a3f3ac82432a2467295acf972
[INFO] running `Command { std: "docker" "start" "-a" "3bf2499c8ed614f968840a90b4bc498e8e406a5a3f3ac82432a2467295acf972", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bf2499c8ed614f968840a90b4bc498e8e406a5a3f3ac82432a2467295acf972", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bf2499c8ed614f968840a90b4bc498e8e406a5a3f3ac82432a2467295acf972", kill_on_drop: false }`
[INFO] [stdout] 3bf2499c8ed614f968840a90b4bc498e8e406a5a3f3ac82432a2467295acf972
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd5ea1f16416d6cd7ec6352bcde61e60c646ec59d7b24980c7541926bf853b16
[INFO] running `Command { std: "docker" "start" "-a" "cd5ea1f16416d6cd7ec6352bcde61e60c646ec59d7b24980c7541926bf853b16", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.40
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.5.3
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling rust-cc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LexemeKind` is never used
[INFO] [stdout]   --> src/lexer.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum LexemeKind<'a> {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lexeme` is never constructed
[INFO] [stdout]   --> src/lexer.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Lexeme<'a> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LexError` is never used
[INFO] [stdout]   --> src/lexer.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum LexError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_get` is never used
[INFO] [stdout]   --> src/lexer.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn try_get<'a, F>(current_input: &'a str, pattern: &Regex, transformer: F) -> Option<(&'a str, &'a str, LexemeKind<'a>)>
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_identifier_str` is never used
[INFO] [stdout]   --> src/lexer.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn convert_identifier_str<'a>(identifier: &'a str) -> LexemeKind<'a> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_symbol_str` is never used
[INFO] [stdout]   --> src/lexer.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn convert_symbol_str<'a>(symbol: &'a str) -> LexemeKind<'a> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_next_token` is never used
[INFO] [stdout]   --> src/lexer.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn get_next_token<'a>(current_input: &'a str) -> Option<(&'a str, &'a str, LexemeKind<'a>)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lex_str` is never used
[INFO] [stdout]   --> src/lexer.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme>, LexError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lexer.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme>, LexError> {
[INFO] [stdout]    |                       ^^^^                ------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme<'_>>, LexError> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.92s
[INFO] running `Command { std: "docker" "inspect" "cd5ea1f16416d6cd7ec6352bcde61e60c646ec59d7b24980c7541926bf853b16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd5ea1f16416d6cd7ec6352bcde61e60c646ec59d7b24980c7541926bf853b16", kill_on_drop: false }`
[INFO] [stdout] cd5ea1f16416d6cd7ec6352bcde61e60c646ec59d7b24980c7541926bf853b16
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 452af50b2da9139327fbad4ef93ebdf9ff9c1182553c0aa1ca4fdc5cecb5de51
[INFO] running `Command { std: "docker" "start" "-a" "452af50b2da9139327fbad4ef93ebdf9ff9c1182553c0aa1ca4fdc5cecb5de51", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rust-cc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / lazy_static! {
[INFO] [stdout] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stdout] 37 | |         "return", "int"
[INFO] [stdout] 38 | |     ]);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `line` and `column` are never read
[INFO] [stdout]   --> src/lexer.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |     UnrecognizedInput { line: usize, column: usize },
[INFO] [stdout]    |     -----------------   ^^^^         ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lexer.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme>, LexError> {
[INFO] [stdout]    |                       ^^^^                ------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme<'_>>, LexError> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s
[INFO] running `Command { std: "docker" "inspect" "452af50b2da9139327fbad4ef93ebdf9ff9c1182553c0aa1ca4fdc5cecb5de51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "452af50b2da9139327fbad4ef93ebdf9ff9c1182553c0aa1ca4fdc5cecb5de51", kill_on_drop: false }`
[INFO] [stdout] 452af50b2da9139327fbad4ef93ebdf9ff9c1182553c0aa1ca4fdc5cecb5de51
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 38c53a3cd3eb7cfda3a9d33f528a119c3c9a211189cde02a0e568890097b6429
[INFO] running `Command { std: "docker" "start" "-a" "38c53a3cd3eb7cfda3a9d33f528a119c3c9a211189cde02a0e568890097b6429", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> src/lexer.rs:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | / lazy_static! {
[INFO] [stderr] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stderr] 37 | |         "return", "int"
[INFO] [stderr] 38 | |     ]);
[INFO] [stderr] ...  |
[INFO] [stderr] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stderr] 45 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> src/lexer.rs:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | / lazy_static! {
[INFO] [stderr] 36 | |     static ref KEYWORDS: HashSet<&'static str> = HashSet::from_iter(vec![
[INFO] [stderr] 37 | |         "return", "int"
[INFO] [stderr] 38 | |     ]);
[INFO] [stderr] ...  |
[INFO] [stderr] 44 | |     static ref SYMBOL_REGEX: Regex = Regex::new(r"^[\(\)\{\};]").unwrap();
[INFO] [stderr] 45 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: fields `line` and `column` are never read
[INFO] [stderr]   --> src/lexer.rs:31:25
[INFO] [stderr]    |
[INFO] [stderr] 31 |     UnrecognizedInput { line: usize, column: usize },
[INFO] [stderr]    |     -----------------   ^^^^         ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/lexer.rs:87:23
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme>, LexError> {
[INFO] [stderr]    |                       ^^^^                ------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub fn lex_str(input: &str) -> Result<Vec<Lexeme<'_>>, LexError> {
[INFO] [stderr]    |                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-cc` (bin "rust-cc" test) generated 8 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_cc-37ba7a5f7486a1a7)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test lexer::test::get_next_token_test ... ok
[INFO] [stdout] test lexer::test::lexing_symbols ... ok
[INFO] [stdout] test lexer::test::int_literals ... ok
[INFO] [stdout] test lexer::test::lex_str_test ... ok
[INFO] [stdout] test lexer::test::try_get_test ... ok
[INFO] [stdout] test lexer::test::lexing_identifiers_vs_keywords ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "38c53a3cd3eb7cfda3a9d33f528a119c3c9a211189cde02a0e568890097b6429", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38c53a3cd3eb7cfda3a9d33f528a119c3c9a211189cde02a0e568890097b6429", kill_on_drop: false }`
[INFO] [stdout] 38c53a3cd3eb7cfda3a9d33f528a119c3c9a211189cde02a0e568890097b6429
