[INFO] cloning repository https://github.com/Allen-B1/calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Allen-B1/calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fcalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fcalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a9da38ed07a7f453b946001863ac6fb2a777b31 [INFO] checking Allen-B1/calc against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fcalc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Allen-B1/calc on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Allen-B1/calc [INFO] finished tweaking git repo https://github.com/Allen-B1/calc [INFO] tweaked toml for git repo https://github.com/Allen-B1/calc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Allen-B1/calc 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded syn v1.0.100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e4375687c3c247c5bc7d3b8d98b2e3b983cffca1a32d82dc8ee26b96780661e [INFO] running `Command { std: "docker" "start" "-a" "0e4375687c3c247c5bc7d3b8d98b2e3b983cffca1a32d82dc8ee26b96780661e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e4375687c3c247c5bc7d3b8d98b2e3b983cffca1a32d82dc8ee26b96780661e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4375687c3c247c5bc7d3b8d98b2e3b983cffca1a32d82dc8ee26b96780661e", kill_on_drop: false }` [INFO] [stdout] 0e4375687c3c247c5bc7d3b8d98b2e3b983cffca1a32d82dc8ee26b96780661e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1972406fe4cc07c76d1431cf214c9f67a8ff99f56bc2cf9c3bc4100fb1b70fd0 [INFO] running `Command { std: "docker" "start" "-a" "1972406fe4cc07c76d1431cf214c9f67a8ff99f56bc2cf9c3bc4100fb1b70fd0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking serde_json v1.0.85 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking calculator-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `iter::Peekable` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{iter::Peekable, collections::{HashMap, HashSet}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/lib.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tokenizer` [INFO] [stdout] --> src/ast.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::tokenizer::{Tokenizer, Token}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/eval.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fmt::Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeSeq`, `SerializeTuple`, `Serializer` [INFO] [stdout] --> src/eval.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Serializer, ser::{SerializeTuple, SerializeSeq}, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer::Tokenizer` [INFO] [stdout] --> src/eval.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ast::Node, tokenizer::Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/value/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Peekable` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{iter::Peekable, collections::{HashMap, HashSet}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/lib.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::{prelude::*, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tokenizer` [INFO] [stdout] --> src/ast.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::tokenizer::{Tokenizer, Token}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenListRef` [INFO] [stdout] --> src/ast.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | use super::{TokenListRef, Cursor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/eval.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fmt::Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeSeq`, `SerializeTuple`, `Serializer` [INFO] [stdout] --> src/eval.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Serializer, ser::{SerializeTuple, SerializeSeq}, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer::Tokenizer` [INFO] [stdout] --> src/eval.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ast::Node, tokenizer::Tokenizer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/value/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenizer.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut tok = Tokenizer::new("#xaxaxa bc sin co"); [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: unused variable: `matrix` [INFO] [stdout] --> src/ast.rs:395:17 [INFO] [stdout] | [INFO] [stdout] 395 | let matrix = parse_matrix(&tokens, &mut cur).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/eval.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | Value::Func(params, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/eval.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | Value::Func(params, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/eval.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn opaque(class: Class) -> Expr { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/eval.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn opaque(class: Class) -> Expr { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | fn add(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn mul(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn div(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn dot(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | for (ident, (idx, node)) in assignments.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | fn add(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn mul(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn div(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/value/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn dot(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | for (ident, (idx, node)) in assignments.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `height` is never used [INFO] [stdout] --> src/ast.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/eval.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Class { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 24 | pub fn combine(&self, rhs: &Class, op: char) -> Class { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/eval.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl NumClass { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 93 | /** Returns the result type when you combine two numbers */ [INFO] [stdout] 94 | pub fn combine(self, b: NumClass) -> NumClass { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `abs`, `add`, `mul`, `div`, and `dot` are never used [INFO] [stdout] --> src/value/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Value: Serialize { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 10 | fn abs(&self) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | fn add(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn mul(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | fn div(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | fn dot(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Matrix` is never constructed [INFO] [stdout] --> src/value/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Any { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 18 | Num(num::Num), [INFO] [stdout] 19 | Matrix(Matrix) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Int` is never constructed [INFO] [stdout] --> src/value/num.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Num { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Int(BigInt) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Num` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `height` is never used [INFO] [stdout] --> src/ast.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/eval.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Class { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 24 | pub fn combine(&self, rhs: &Class, op: char) -> Class { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/eval.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl NumClass { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 93 | /** Returns the result type when you combine two numbers */ [INFO] [stdout] 94 | pub fn combine(self, b: NumClass) -> NumClass { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `abs`, `add`, `mul`, `div`, and `dot` are never used [INFO] [stdout] --> src/value/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Value: Serialize { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 10 | fn abs(&self) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | fn add(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn mul(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | fn div(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | fn dot(&self, rhs: Any) -> Option { None } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Matrix` is never constructed [INFO] [stdout] --> src/value/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Any { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 18 | Num(num::Num), [INFO] [stdout] 19 | Matrix(Matrix) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Int` is never constructed [INFO] [stdout] --> src/value/num.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Num { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Int(BigInt) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Num` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1972406fe4cc07c76d1431cf214c9f67a8ff99f56bc2cf9c3bc4100fb1b70fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1972406fe4cc07c76d1431cf214c9f67a8ff99f56bc2cf9c3bc4100fb1b70fd0", kill_on_drop: false }` [INFO] [stdout] 1972406fe4cc07c76d1431cf214c9f67a8ff99f56bc2cf9c3bc4100fb1b70fd0 [INFO] checking Allen-B1/calc against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fcalc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Allen-B1/calc on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Allen-B1/calc [INFO] finished tweaking git repo https://github.com/Allen-B1/calc [INFO] tweaked toml for git repo https://github.com/Allen-B1/calc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Allen-B1/calc 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9bb2f314e2b5fbd453378c8fc52ba0e2544cefc2fc4e227ffd41d83aa206f3b [INFO] running `Command { std: "docker" "start" "-a" "a9bb2f314e2b5fbd453378c8fc52ba0e2544cefc2fc4e227ffd41d83aa206f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9bb2f314e2b5fbd453378c8fc52ba0e2544cefc2fc4e227ffd41d83aa206f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9bb2f314e2b5fbd453378c8fc52ba0e2544cefc2fc4e227ffd41d83aa206f3b", kill_on_drop: false }` [INFO] [stdout] a9bb2f314e2b5fbd453378c8fc52ba0e2544cefc2fc4e227ffd41d83aa206f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ff65c06e5dfc54a3d44ff9a0149c67aedd3eaa75870bd053caa016b38faa1cd [INFO] running `Command { std: "docker" "start" "-a" "3ff65c06e5dfc54a3d44ff9a0149c67aedd3eaa75870bd053caa016b38faa1cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-support-0.2.83/src/parser.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | / if input.parse::().is_ok() { [INFO] [stdout] 285 | | let ident = input.parse::()?.0; [INFO] [stdout] 286 | | return Ok(BindgenAttr::$variant(attr_span, Some(ident))) [INFO] [stdout] 287 | | } else { [INFO] [stdout] 288 | | return Ok(BindgenAttr::$variant(attr_span, None)); [INFO] [stdout] 289 | | } [INFO] [stdout] | |_________________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 344 | attrgen!(parsers); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parsers` which comes from the expansion of the macro `attrgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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 E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen-macro-support` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3ff65c06e5dfc54a3d44ff9a0149c67aedd3eaa75870bd053caa016b38faa1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff65c06e5dfc54a3d44ff9a0149c67aedd3eaa75870bd053caa016b38faa1cd", kill_on_drop: false }` [INFO] [stdout] 3ff65c06e5dfc54a3d44ff9a0149c67aedd3eaa75870bd053caa016b38faa1cd