[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaranthineCodices%2Frust-cc" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AmaranthineCodices/rust-cc on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db3fafeda9aeb336255933da2fcce683447a0845e7323b1826d353d817cb00e [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" "4db3fafeda9aeb336255933da2fcce683447a0845e7323b1826d353d817cb00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db3fafeda9aeb336255933da2fcce683447a0845e7323b1826d353d817cb00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db3fafeda9aeb336255933da2fcce683447a0845e7323b1826d353d817cb00e", kill_on_drop: false }` [INFO] [stdout] 4db3fafeda9aeb336255933da2fcce683447a0845e7323b1826d353d817cb00e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21b067c8bc12015da108f6438b94a1655c2e745901bab5c88c4563c349f87bbd [INFO] running `Command { std: "docker" "start" "-a" "21b067c8bc12015da108f6438b94a1655c2e745901bab5c88c4563c349f87bbd", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking unreachable 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] [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.80s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21b067c8bc12015da108f6438b94a1655c2e745901bab5c88c4563c349f87bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b067c8bc12015da108f6438b94a1655c2e745901bab5c88c4563c349f87bbd", kill_on_drop: false }` [INFO] [stdout] 21b067c8bc12015da108f6438b94a1655c2e745901bab5c88c4563c349f87bbd