[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] checking AmaranthineCodices/rust-cc against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaranthineCodices%2Frust-cc" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AmaranthineCodices/rust-cc on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/source/Cargo.toml [INFO] crate git repo https://github.com/AmaranthineCodices/rust-cc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87e840ea55061627813456b479aef46db744aef19bfbc12d096c132a036f247f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "87e840ea55061627813456b479aef46db744aef19bfbc12d096c132a036f247f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87e840ea55061627813456b479aef46db744aef19bfbc12d096c132a036f247f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87e840ea55061627813456b479aef46db744aef19bfbc12d096c132a036f247f", kill_on_drop: false }` [INFO] [stdout] 87e840ea55061627813456b479aef46db744aef19bfbc12d096c132a036f247f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4f7d347d5a6cf47fcf17fa04424c4f2b499b1a200c2fa0cceae35e2ab2bc298 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4f7d347d5a6cf47fcf17fa04424c4f2b499b1a200c2fa0cceae35e2ab2bc298", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking unreachable v1.0.0 [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] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Whitespace` [INFO] [stdout] --> src/lexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Whitespace(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenBrace` [INFO] [stdout] --> src/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OpenBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CloseBrace` [INFO] [stdout] --> src/lexer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | CloseBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenParen` [INFO] [stdout] --> src/lexer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CloseParen` [INFO] [stdout] --> src/lexer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Semicolon` [INFO] [stdout] --> src/lexer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Keyword` [INFO] [stdout] --> src/lexer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Keyword(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/lexer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IntLiteral` [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | IntLiteral(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnrecognizedInput` [INFO] [stdout] --> src/lexer.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | UnrecognizedInput { line: usize, column: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_get` [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 is never used: `convert_identifier_str` [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 is never used: `convert_symbol_str` [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 is never used: `get_next_token` [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 is never used: `lex_str` [INFO] [stdout] --> src/lexer.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn lex_str(input: &str) -> Result, LexError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.75s [INFO] running `Command { std: "docker" "inspect" "b4f7d347d5a6cf47fcf17fa04424c4f2b499b1a200c2fa0cceae35e2ab2bc298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f7d347d5a6cf47fcf17fa04424c4f2b499b1a200c2fa0cceae35e2ab2bc298", kill_on_drop: false }` [INFO] [stdout] b4f7d347d5a6cf47fcf17fa04424c4f2b499b1a200c2fa0cceae35e2ab2bc298