[INFO] fetching crate kaon 0.1.4... [INFO] checking kaon-0.1.4 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate kaon 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate kaon 0.1.4 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 crates.io crate kaon 0.1.4 [INFO] finished tweaking crates.io crate kaon 0.1.4 [INFO] tweaked toml for crates.io crate kaon 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 530b7280788fb5134d53fd5f901fd3bc379b467a9d8bbf73448a67bc697da091 [INFO] running `Command { std: "docker" "start" "-a" "530b7280788fb5134d53fd5f901fd3bc379b467a9d8bbf73448a67bc697da091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530b7280788fb5134d53fd5f901fd3bc379b467a9d8bbf73448a67bc697da091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530b7280788fb5134d53fd5f901fd3bc379b467a9d8bbf73448a67bc697da091", kill_on_drop: false }` [INFO] [stdout] 530b7280788fb5134d53fd5f901fd3bc379b467a9d8bbf73448a67bc697da091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0cbca04c945b23b5a7988517c88ba01c751adce3f5ad510a9bb8c76868c6226f [INFO] running `Command { std: "docker" "start" "-a" "0cbca04c945b23b5a7988517c88ba01c751adce3f5ad510a9bb8c76868c6226f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking kaon v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/common/value.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{Ord, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/ast.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct StmtBlock(SmallVec<[Stmt; 4]>, Span); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 57 | pub struct StmtBlock((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/runtime/vm.rs:311:56 [INFO] [stdout] | [INFO] [stdout] 311 | self.stack.push(data.value.as_ref().borrow().clone()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value` does not implement `Borrow`, so calling `borrow` on `&Value` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 311 - self.stack.push(data.value.as_ref().borrow().clone()); [INFO] [stdout] 311 + self.stack.push(data.value.as_ref().clone()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value`, implement `Clone` for it [INFO] [stdout] --> src/common/value.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/runtime/vm.rs:585:52 [INFO] [stdout] | [INFO] [stdout] 585 | upvalue.closed = upvalue.value.as_ref().borrow().clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Value` does not implement `Borrow`, so calling `borrow` on `&Value` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 585 - upvalue.closed = upvalue.value.as_ref().borrow().clone(); [INFO] [stdout] 585 + upvalue.closed = upvalue.value.as_ref().clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Value`, implement `Clone` for it [INFO] [stdout] --> src/common/value.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/runtime/vm.rs:588:74 [INFO] [stdout] | [INFO] [stdout] 588 | self.open_upvalues = upvalue.next.as_ref().map(|v| v.as_ref().borrow().clone()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Upvalue` does not implement `Borrow`, so calling `borrow` on `&Upvalue` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 588 - self.open_upvalues = upvalue.next.as_ref().map(|v| v.as_ref().borrow().clone()); [INFO] [stdout] 588 + self.open_upvalues = upvalue.next.as_ref().map(|v| v.as_ref().clone()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Upvalue`, implement `Clone` for it [INFO] [stdout] --> src/common/value.rs:832:1 [INFO] [stdout] | [INFO] [stdout] 832 + #[derive(Clone)] [INFO] [stdout] 833 | pub struct Upvalue { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: struct `MockError` is never constructed [INFO] [stdout] --> tests/test_error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct MockError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToArgs` is imported redundantly [INFO] [stdout] --> src/common/args.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | use super::ToArgs; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 183 | use super::*; [INFO] [stdout] | -------- the item `ToArgs` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/common/value.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{Ord, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/ast.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct StmtBlock(SmallVec<[Stmt; 4]>, Span); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 57 | pub struct StmtBlock((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/runtime/vm.rs:311:56 [INFO] [stdout] | [INFO] [stdout] 311 | self.stack.push(data.value.as_ref().borrow().clone()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `value::Value` does not implement `Borrow`, so calling `borrow` on `&value::Value` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 311 - self.stack.push(data.value.as_ref().borrow().clone()); [INFO] [stdout] 311 + self.stack.push(data.value.as_ref().clone()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `value::Value`, implement `Clone` for it [INFO] [stdout] --> src/common/value.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/runtime/vm.rs:585:52 [INFO] [stdout] | [INFO] [stdout] 585 | upvalue.closed = upvalue.value.as_ref().borrow().clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `value::Value` does not implement `Borrow`, so calling `borrow` on `&value::Value` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 585 - upvalue.closed = upvalue.value.as_ref().borrow().clone(); [INFO] [stdout] 585 + upvalue.closed = upvalue.value.as_ref().clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `value::Value`, implement `Clone` for it [INFO] [stdout] --> src/common/value.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/runtime/vm.rs:588:74 [INFO] [stdout] | [INFO] [stdout] 588 | self.open_upvalues = upvalue.next.as_ref().map(|v| v.as_ref().borrow().clone()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Upvalue` does not implement `Borrow`, so calling `borrow` on `&Upvalue` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 588 - self.open_upvalues = upvalue.next.as_ref().map(|v| v.as_ref().borrow().clone()); [INFO] [stdout] 588 + self.open_upvalues = upvalue.next.as_ref().map(|v| v.as_ref().clone()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Upvalue`, implement `Clone` for it [INFO] [stdout] --> src/common/value.rs:832:1 [INFO] [stdout] | [INFO] [stdout] 832 + #[derive(Clone)] [INFO] [stdout] 833 | pub struct Upvalue { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.35s [INFO] running `Command { std: "docker" "inspect" "0cbca04c945b23b5a7988517c88ba01c751adce3f5ad510a9bb8c76868c6226f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbca04c945b23b5a7988517c88ba01c751adce3f5ad510a9bb8c76868c6226f", kill_on_drop: false }` [INFO] [stdout] 0cbca04c945b23b5a7988517c88ba01c751adce3f5ad510a9bb8c76868c6226f