[INFO] updating cached repository https://github.com/AmaranthineCodices/rust-cc [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] aadbf5067e0dfab4adc806fbef40ba0dde6b67b9 [INFO] checking AmaranthineCodices/rust-cc against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaranthineCodices%2Frust-cc" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AmaranthineCodices/rust-cc on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/AmaranthineCodices/rust-cc already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 963e0cca7352eef0597c6c03876fcdf671b12a9e09a4f5381732a3abee142ff3 [INFO] running `"docker" "start" "-a" "963e0cca7352eef0597c6c03876fcdf671b12a9e09a4f5381732a3abee142ff3"` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking rust-cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Whitespace` [INFO] [stderr] --> src/lexer.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Whitespace(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OpenBrace` [INFO] [stderr] --> src/lexer.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | OpenBrace, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CloseBrace` [INFO] [stderr] --> src/lexer.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | CloseBrace, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OpenParen` [INFO] [stderr] --> src/lexer.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | OpenParen, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CloseParen` [INFO] [stderr] --> src/lexer.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | CloseParen, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Semicolon` [INFO] [stderr] --> src/lexer.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Semicolon, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Keyword` [INFO] [stderr] --> src/lexer.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Keyword(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/lexer.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Identifier(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IntLiteral` [INFO] [stderr] --> src/lexer.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | IntLiteral(i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnrecognizedInput` [INFO] [stderr] --> src/lexer.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | UnrecognizedInput { line: usize, column: usize }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `try_get` [INFO] [stderr] --> src/lexer.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn try_get<'a, F>(current_input: &'a str, pattern: &Regex, transformer: F) -> Option<(&'a str, &'a str, LexemeKind<'a>)> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `convert_identifier_str` [INFO] [stderr] --> src/lexer.rs:60:4 [INFO] [stderr] | [INFO] [stderr] 60 | fn convert_identifier_str<'a>(identifier: &'a str) -> LexemeKind<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `convert_symbol_str` [INFO] [stderr] --> src/lexer.rs:69:4 [INFO] [stderr] | [INFO] [stderr] 69 | fn convert_symbol_str<'a>(symbol: &'a str) -> LexemeKind<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_next_token` [INFO] [stderr] --> src/lexer.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn get_next_token<'a>(current_input: &'a str) -> Option<(&'a str, &'a str, LexemeKind<'a>)> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `lex_str` [INFO] [stderr] --> src/lexer.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn lex_str(input: &str) -> Result, LexError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `"docker" "inspect" "963e0cca7352eef0597c6c03876fcdf671b12a9e09a4f5381732a3abee142ff3"` [INFO] running `"docker" "rm" "-f" "963e0cca7352eef0597c6c03876fcdf671b12a9e09a4f5381732a3abee142ff3"` [INFO] [stdout] 963e0cca7352eef0597c6c03876fcdf671b12a9e09a4f5381732a3abee142ff3