[INFO] fetching crate idl 0.1.1... [INFO] checking idl-0.1.1 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate idl 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate idl 0.1.1 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 idl 0.1.1 [INFO] finished tweaking crates.io crate idl 0.1.1 [INFO] tweaked toml for crates.io crate idl 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate idl 0.1.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan-reporting v0.9.5 [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] 18697dd987386cb463ce6fc82aa76f07c160e94473210238b75f68cb2754056f [INFO] running `Command { std: "docker" "start" "-a" "18697dd987386cb463ce6fc82aa76f07c160e94473210238b75f68cb2754056f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18697dd987386cb463ce6fc82aa76f07c160e94473210238b75f68cb2754056f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18697dd987386cb463ce6fc82aa76f07c160e94473210238b75f68cb2754056f", kill_on_drop: false }` [INFO] [stdout] 18697dd987386cb463ce6fc82aa76f07c160e94473210238b75f68cb2754056f [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] 4e840cc8f72e656f9d644eb0bef8fc69c7265c89163b7d33b8b498fa2184f983 [INFO] running `Command { std: "docker" "start" "-a" "4e840cc8f72e656f9d644eb0bef8fc69c7265c89163b7d33b8b498fa2184f983", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling anyhow v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking idl v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/idl/analyzer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/idl/analyzer.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{fmt, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/idl/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::value` [INFO] [stdout] --> src/ids/nodes.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de::value, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/module/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/module/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/range.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/idl/analyzer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/idl/analyzer.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{fmt, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/idl/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::value` [INFO] [stdout] --> src/ids/nodes.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de::value, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/module/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/module/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/range.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/idl/analyzer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Digest, Shake128, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_comment` [INFO] [stdout] --> src/formatting/ids.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut is_comment = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_comment` [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/formatting/ids.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut is_comment = false; [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 import: `Digest` [INFO] [stdout] --> src/idl/analyzer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Digest, Shake128, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parsers` [INFO] [stdout] --> src/idl/analyzer.rs:1602:9 [INFO] [stdout] | [INFO] [stdout] 1602 | parsers: &parser::Parser, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parsers` [INFO] [stdout] --> src/idl/analyzer.rs:1644:42 [INFO] [stdout] | [INFO] [stdout] 1644 | fn interface_has_invalid_refs(&self, parsers: &parser::Parser) -> Result<(), AnalyzerError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_comment` [INFO] [stdout] --> src/formatting/ids.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut is_comment = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_comment` [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/formatting/ids.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut is_comment = false; [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: `parsers` [INFO] [stdout] --> src/idl/analyzer.rs:1602:9 [INFO] [stdout] | [INFO] [stdout] 1602 | parsers: &parser::Parser, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parsers` [INFO] [stdout] --> src/idl/analyzer.rs:1644:42 [INFO] [stdout] | [INFO] [stdout] 1644 | fn interface_has_invalid_refs(&self, parsers: &parser::Parser) -> Result<(), AnalyzerError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | EnumFieldErrorKind::InvalidSymbol(name) => format!("Invalid symbol `{}`", name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:801:13 [INFO] [stdout] | [INFO] [stdout] 801 | EnumFieldErrorKind::MissingCurlyBracket => "Missing `}`".to_owned(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | EnumFieldErrorKind::MissingIdentifier => "Missing identifier".to_owned(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:3333:25 [INFO] [stdout] | [INFO] [stdout] 3333 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | EnumFieldErrorKind::InvalidSymbol(name) => format!("Invalid symbol `{}`", name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:801:13 [INFO] [stdout] | [INFO] [stdout] 801 | EnumFieldErrorKind::MissingCurlyBracket => "Missing `}`".to_owned(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | EnumFieldErrorKind::MissingIdentifier => "Missing identifier".to_owned(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/idl/parser.rs:3333:25 [INFO] [stdout] | [INFO] [stdout] 3333 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_client` [INFO] [stdout] --> src/ids/package.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut has_client = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_server` [INFO] [stdout] --> src/ids/package.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut has_server = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ids/package.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut has_client = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ids/package.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut has_server = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_client` [INFO] [stdout] --> src/ids/package.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut has_client = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_server` [INFO] [stdout] --> src/ids/package.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut has_server = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ids/package.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut has_client = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ids/package.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut has_server = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_field_comment` is never used [INFO] [stdout] --> src/formatting/ids.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn push_field_comment(body: &mut String, comments: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_comment` is never used [INFO] [stdout] --> src/formatting/ids.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn push_comment(body: &mut String, comments: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tuple_has_incorrect_stream_type`, `interface_extends_duplicate_type`, `interface_extends_valid_types`, and `has_type_reference` are never used [INFO] [stdout] --> src/idl/analyzer.rs:1437:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl Analyzer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1437 | fn tuple_has_incorrect_stream_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1559 | fn interface_extends_duplicate_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1679 | fn interface_extends_valid_types( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2045 | fn has_type_reference(&self, target: &str, refer: &nodes::TypeName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modules` is never read [INFO] [stdout] --> src/module/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | modules: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `push_field_comment` is never used [INFO] [stdout] --> src/formatting/ids.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn push_field_comment(body: &mut String, comments: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_comment` is never used [INFO] [stdout] --> src/formatting/ids.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn push_comment(body: &mut String, comments: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tuple_has_incorrect_stream_type`, `interface_extends_duplicate_type`, `interface_extends_valid_types`, and `has_type_reference` are never used [INFO] [stdout] --> src/idl/analyzer.rs:1437:8 [INFO] [stdout] | [INFO] [stdout] 155 | impl Analyzer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1437 | fn tuple_has_incorrect_stream_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1559 | fn interface_extends_duplicate_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1679 | fn interface_extends_valid_types( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2045 | fn has_type_reference(&self, target: &str, refer: &nodes::TypeName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modules` is never read [INFO] [stdout] --> src/module/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | modules: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/bin/main.rs:575:41 [INFO] [stdout] | [INFO] [stdout] 575 | use std::{collections::HashMap, convert::TryFrom, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::message` [INFO] [stdout] --> src/bin/main.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | use super::message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/bin/main.rs:575:41 [INFO] [stdout] | [INFO] [stdout] 575 | use std::{collections::HashMap, convert::TryFrom, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::message` [INFO] [stdout] --> src/bin/main.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | use super::message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/main.rs:778:52 [INFO] [stdout] | [INFO] [stdout] 778 | Message::PackageWarning { message, id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/bin/main.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub fn parse(matches: &ArgMatches) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/bin/main.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut module = Module::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/bin/main.rs:820:18 [INFO] [stdout] | [INFO] [stdout] 820 | pub fn parse(matches: &ArgMatches) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let mut module = Module::new(); [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: variant `VariableMissing` is never constructed [INFO] [stdout] --> src/bin/main.rs:794:9 [INFO] [stdout] | [INFO] [stdout] 792 | pub enum EnvError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 793 | #[error("Missing env variable")] [INFO] [stdout] 794 | VariableMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProjectExists` is never constructed [INFO] [stdout] --> src/bin/main.rs:868:9 [INFO] [stdout] | [INFO] [stdout] 866 | pub enum LanguageError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 867 | #[error("Project already exists")] [INFO] [stdout] 868 | ProjectExists(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/main.rs:778:52 [INFO] [stdout] | [INFO] [stdout] 778 | Message::PackageWarning { message, id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/bin/main.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub fn parse(matches: &ArgMatches) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/bin/main.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut module = Module::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/bin/main.rs:820:18 [INFO] [stdout] | [INFO] [stdout] 820 | pub fn parse(matches: &ArgMatches) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let mut module = Module::new(); [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: variant `VariableMissing` is never constructed [INFO] [stdout] --> src/bin/main.rs:794:9 [INFO] [stdout] | [INFO] [stdout] 792 | pub enum EnvError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 793 | #[error("Missing env variable")] [INFO] [stdout] 794 | VariableMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProjectExists` is never constructed [INFO] [stdout] --> src/bin/main.rs:868:9 [INFO] [stdout] | [INFO] [stdout] 866 | pub enum LanguageError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 867 | #[error("Project already exists")] [INFO] [stdout] 868 | ProjectExists(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.90s [INFO] running `Command { std: "docker" "inspect" "4e840cc8f72e656f9d644eb0bef8fc69c7265c89163b7d33b8b498fa2184f983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e840cc8f72e656f9d644eb0bef8fc69c7265c89163b7d33b8b498fa2184f983", kill_on_drop: false }` [INFO] [stdout] 4e840cc8f72e656f9d644eb0bef8fc69c7265c89163b7d33b8b498fa2184f983 [INFO] checking idl-0.1.1 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate idl 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate idl 0.1.1 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 crates.io crate idl 0.1.1 [INFO] finished tweaking crates.io crate idl 0.1.1 [INFO] tweaked toml for crates.io crate idl 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate idl 0.1.1 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] e863ea3656b99683c077326e0c42ae9a73303ec279c3743dfe720ef7231e640e [INFO] running `Command { std: "docker" "start" "-a" "e863ea3656b99683c077326e0c42ae9a73303ec279c3743dfe720ef7231e640e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e863ea3656b99683c077326e0c42ae9a73303ec279c3743dfe720ef7231e640e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e863ea3656b99683c077326e0c42ae9a73303ec279c3743dfe720ef7231e640e", kill_on_drop: false }` [INFO] [stdout] e863ea3656b99683c077326e0c42ae9a73303ec279c3743dfe720ef7231e640e [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] a8441bd52c418f6b1d2ac723c6039c8760c523348d2cc6c1a5c55431f5e2bbe8 [INFO] running `Command { std: "docker" "start" "-a" "a8441bd52c418f6b1d2ac723c6039c8760c523348d2cc6c1a5c55431f5e2bbe8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.61 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-1.6.0/src/exec.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | / match dfa::Fsm::reverse( [INFO] [stdout] 849 | | &self.ro.dfa_reverse, [INFO] [stdout] 850 | | self.cache.value(), [INFO] [stdout] 851 | | false, [INFO] [stdout] ... | [INFO] [stdout] 862 | | Quit => return Some(Quit), [INFO] [stdout] 863 | | }; [INFO] [stdout] | |_____________^ cannot infer type [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 E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a8441bd52c418f6b1d2ac723c6039c8760c523348d2cc6c1a5c55431f5e2bbe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8441bd52c418f6b1d2ac723c6039c8760c523348d2cc6c1a5c55431f5e2bbe8", kill_on_drop: false }` [INFO] [stdout] a8441bd52c418f6b1d2ac723c6039c8760c523348d2cc6c1a5c55431f5e2bbe8