[INFO] cloning repository https://github.com/nilq/icecream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilq/icecream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffb3a020014771cf273f29d972444f3345c27c67 [INFO] checking nilq/icecream against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilq/icecream on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilq/icecream [INFO] finished tweaking git repo https://github.com/nilq/icecream [INFO] tweaked toml for git repo https://github.com/nilq/icecream written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nilq/icecream 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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded gcc v0.3.43 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded llvm-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c1dc19e8e1ace12f8139845025f8d84b5c0be9f26e1937898a5508099008cd [INFO] running `Command { std: "docker" "start" "-a" "76c1dc19e8e1ace12f8139845025f8d84b5c0be9f26e1937898a5508099008cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c1dc19e8e1ace12f8139845025f8d84b5c0be9f26e1937898a5508099008cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c1dc19e8e1ace12f8139845025f8d84b5c0be9f26e1937898a5508099008cd", kill_on_drop: false }` [INFO] [stdout] 76c1dc19e8e1ace12f8139845025f8d84b5c0be9f26e1937898a5508099008cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce7c2732758ccab33c5a61dde5b5ee94a1f0006cc84c7f2f8c27f44a56ec97dd [INFO] running `Command { std: "docker" "start" "-a" "ce7c2732758ccab33c5a61dde5b5ee94a1f0006cc84c7f2f8c27f44a56ec97dd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling llvm-sys v0.3.0 [INFO] [stderr] Checking bathroom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/module.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 62 | error = String::from_utf8_lossy(err_buffer.to_bytes()).into_owned();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/llvm_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/module.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 62 | error = String::from_utf8_lossy(err_buffer.to_bytes()).into_owned();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `void_type` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | void_type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/llvm_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `void_type` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | void_type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/error.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/error.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/parser/parser.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let lhs = match parse_main(input) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/parser/parser.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let lhs = match parse_main(input) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut module = Module::new("strawberry", &context); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_precedence` is never used [INFO] [stdout] --> src/parser/lexer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_precedence(token: &Token) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/parser/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/parser/parser.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/parser/parser.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_main` is never used [INFO] [stdout] --> src/parser/parser.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_main<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser/parser.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_expression<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadInput`, `UnknownOperator`, `MissingRParen`, `FnMissingName`, `FnMissingParameters`, and `OutOfInput` are never constructed [INFO] [stdout] --> src/parser/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | BadInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | UnknownOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | MissingRParen, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FnMissingName, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | FnMissingParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | OutOfInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int1_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int16_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int32_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int64_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut module = Module::new("strawberry", &context); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp128_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `void_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86fp80_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86mmx_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn int_type(size: u32, context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn array_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointer_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn pointer_type(element_type: LLVMTypeRef, address_space: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn vector_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_precedence` is never used [INFO] [stdout] --> src/parser/lexer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_precedence(token: &Token) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/parser/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/parser/parser.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/parser/parser.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_main` is never used [INFO] [stdout] --> src/parser/parser.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_main<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser/parser.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_expression<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadInput`, `UnknownOperator`, `MissingRParen`, `FnMissingName`, `FnMissingParameters`, and `OutOfInput` are never constructed [INFO] [stdout] --> src/parser/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | BadInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | UnknownOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | MissingRParen, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FnMissingName, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | FnMissingParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | OutOfInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int1_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int16_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int32_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int64_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp128_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `void_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86fp80_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86mmx_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn int_type(size: u32, context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn array_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointer_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn pointer_type(element_type: LLVMTypeRef, address_space: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn vector_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "ce7c2732758ccab33c5a61dde5b5ee94a1f0006cc84c7f2f8c27f44a56ec97dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7c2732758ccab33c5a61dde5b5ee94a1f0006cc84c7f2f8c27f44a56ec97dd", kill_on_drop: false }` [INFO] [stdout] ce7c2732758ccab33c5a61dde5b5ee94a1f0006cc84c7f2f8c27f44a56ec97dd [INFO] checking nilq/icecream against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilq/icecream on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilq/icecream [INFO] finished tweaking git repo https://github.com/nilq/icecream [INFO] tweaked toml for git repo https://github.com/nilq/icecream written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nilq/icecream 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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2893d0eed2e9ce9446b0267cbc8c99f0978b66c565e19a2c05d4fbcfa64430e9 [INFO] running `Command { std: "docker" "start" "-a" "2893d0eed2e9ce9446b0267cbc8c99f0978b66c565e19a2c05d4fbcfa64430e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2893d0eed2e9ce9446b0267cbc8c99f0978b66c565e19a2c05d4fbcfa64430e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2893d0eed2e9ce9446b0267cbc8c99f0978b66c565e19a2c05d4fbcfa64430e9", kill_on_drop: false }` [INFO] [stdout] 2893d0eed2e9ce9446b0267cbc8c99f0978b66c565e19a2c05d4fbcfa64430e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f33402f7c9ea12f6e139f60a6fc5d8266a3928c75407f455d1640983ce7271b5 [INFO] running `Command { std: "docker" "start" "-a" "f33402f7c9ea12f6e139f60a6fc5d8266a3928c75407f455d1640983ce7271b5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stdout] error[E0365]: extern crate `std` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.5.0/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use std as __core; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f33402f7c9ea12f6e139f60a6fc5d8266a3928c75407f455d1640983ce7271b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33402f7c9ea12f6e139f60a6fc5d8266a3928c75407f455d1640983ce7271b5", kill_on_drop: false }` [INFO] [stdout] f33402f7c9ea12f6e139f60a6fc5d8266a3928c75407f455d1640983ce7271b5