[INFO] cloning repository https://github.com/ProtoDef-io/protodefc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProtoDef-io/protodefc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProtoDef-io%2Fprotodefc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProtoDef-io%2Fprotodefc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a17214e3c27f5438241b8ef3a82bfffd955e6dd6 [INFO] testing ProtoDef-io/protodefc against beta-2021-09-12 for beta-1.56-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProtoDef-io%2Fprotodefc" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProtoDef-io/protodefc on toolchain beta-2021-09-12 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ProtoDef-io/protodefc [INFO] finished tweaking git repo https://github.com/ProtoDef-io/protodefc [INFO] tweaked toml for git repo https://github.com/ProtoDef-io/protodefc written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/ProtoDef-io/protodefc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-12" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b2c27af4bd9d17a2d5a1c4796d2492386ccd71c47fdf6700fb0c992fa0abd4f [INFO] running `Command { std: "docker" "start" "-a" "3b2c27af4bd9d17a2d5a1c4796d2492386ccd71c47fdf6700fb0c992fa0abd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b2c27af4bd9d17a2d5a1c4796d2492386ccd71c47fdf6700fb0c992fa0abd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2c27af4bd9d17a2d5a1c4796d2492386ccd71c47fdf6700fb0c992fa0abd4f", kill_on_drop: false }` [INFO] [stdout] 3b2c27af4bd9d17a2d5a1c4796d2492386ccd71c47fdf6700fb0c992fa0abd4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29e1fbd8b81159a2b6ef86968760524a57339b9e76b119c62baec66084c3a9c8 [INFO] running `Command { std: "docker" "start" "-a" "29e1fbd8b81159a2b6ef86968760524a57339b9e76b119c62baec66084c3a9c8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling serde v1.0.2 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling json v0.11.6 [INFO] [stderr] Compiling Inflector v0.10.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling matches v0.1.4 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling peg v0.5.2 [INFO] [stderr] Compiling toml v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.1 [INFO] [stderr] Compiling protodefc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] extern crate matches; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Container`, `WeakContainer` [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use ::rc_container::{Container, WeakContainer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::ir::spec::data::ReferenceAccessTime` [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::ir::spec::data::ReferenceAccessTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn specs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegerSize`, `IntegerSpec`, `TypeSpecContainer` [INFO] [stdout] --> src/ir/spec/variant/array.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use ::ir::type_spec::{TypeSpecContainer, WeakTypeSpecContainer, TypeSpecVariant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ArraySpec, ArraySize, IntegerSpec, IntegerSize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::ir::compilation_unit::TypePath` [INFO] [stdout] --> src/ir/spec/variant/array.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ::ir::compilation_unit::TypePath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanonicalNSPath`, `TypeKind` [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:9:60 [INFO] [stdout] | [INFO] [stdout] 9 | use ::ir::compilation_unit::{TypePath, NamedTypeContainer, TypeKind, RelativeNSPath, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | CanonicalNSPath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ir/spec/variant/mod.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_variant<'a>(&'a self) -> &'a TypeVariant { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn TypeVariant` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ir/spec/variant/mod.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn to_variant_mut<'a>(&'a mut self) -> &'a mut TypeVariant { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn TypeVariant` [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] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanonicalNSPath`, `RelativeNSPath`, `TypePath` [INFO] [stdout] --> src/ir/spec/data.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use ::ir::compilation_unit::{TypePath, RelativeNSPath, CanonicalNSPath}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnumSpec` [INFO] [stdout] --> src/ir/type_spec/literal.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | EnumSpec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::marker::PhantomData` [INFO] [stdout] --> src/ir/name.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::nom::IResult` [INFO] [stdout] --> src/ir/name.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/backend/common/formatter.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / macro_rules! pf_push { [INFO] [stdout] 42 | | ($f:expr, $fmt:expr) => ($f.push($fmt)); [INFO] [stdout] 43 | | ($f:expr, $fmt:expr, $($arg:tt)*) => ($f.push(&format!($fmt, $($arg)*))); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/backend/common/formatter.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / macro_rules! pf_push_line { [INFO] [stdout] 47 | | ($f:expr, $fmt:expr) => { [INFO] [stdout] 48 | | pf_push!($f, $fmt); [INFO] [stdout] 49 | | $f.line(); [INFO] [stdout] ... | [INFO] [stdout] 54 | | }; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::ir::spec::data::ReferenceAccessTime` [INFO] [stdout] --> src/backend/imperative_base/deserialize.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::ir::spec::data::ReferenceAccessTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumSpec`, `TypeSpecVariant` [INFO] [stdout] --> src/backend/imperative_base/reference.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use ::ir::type_spec::{TypeSpecVariant, EnumSpec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/imperative_base/reference.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn build_reference_accessor(variant: &TypeVariant, data: &TypeData, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn TypeVariant` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/imperative_base/reference.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | fn build_reference_accessor_inner(_variant: &TypeVariant, data: &TypeData, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn TypeVariant` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/imperative_base/mod.rs:192:59 [INFO] [stdout] | [INFO] [stdout] 192 | fn codegen_for_type<'a>(typ: &'a ::ir::spec::Type) -> &'a BaseCodegen { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BaseCodegen` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ir::compilation_unit::TypePath` [INFO] [stdout] --> src/backend/javascript/cu_to_js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ir::compilation_unit::TypePath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_value` [INFO] [stdout] --> src/backend/json_spec/mod.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use ::serde_json::{Value, to_value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypePath` [INFO] [stdout] --> src/frontend/protocol_json/mod.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use ::ir::compilation_unit::{TypePath, RelativeNSPath}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypePath` [INFO] [stdout] --> src/frontend/protocol_json/variants/mod.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use ::ir::compilation_unit::{TypePath, RelativeNSPath}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypePath` [INFO] [stdout] --> src/frontend/protocol_json/variants/array.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use ::ir::compilation_unit::{TypePath, RelativeNSPath}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypePath` [INFO] [stdout] --> src/frontend/protocol_json/variants/union.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use ::ir::compilation_unit::{TypePath, RelativeNSPath}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypePath` [INFO] [stdout] --> src/frontend/protocol_json/variants/container.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use ::ir::compilation_unit::{TypePath, RelativeNSPath}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanonicalNSPath`, `TypePath` [INFO] [stdout] --> src/frontend/protocol_spec/ast/mod.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use ::ir::compilation_unit::{TypePath, CanonicalNSPath}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try! [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | if self.expected.len() == 0 { try! (write! (fmt, "EOF")) ; } else if [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | let mut iter = self.expected.iter() ; try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | { try! (write! (fmt, ", `{}`", escape_default(elem))) ; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:122:529 [INFO] [stdout] | [INFO] [stdout] 122 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | 'a' ... 'z' | 'A' ... 'Z' | '_' => Matched ( __next , ( ) ) , _ => __state . m... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:122:543 [INFO] [stdout] | [INFO] [stdout] 122 | ...ut , __pos ) ; match __ch { '0' ... '9' | 'a' ... 'z' | 'A' ... 'Z' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:122:557 [INFO] [stdout] | [INFO] [stdout] 122 | ... match __ch { '0' ... '9' | 'a' ... 'z' | 'A' ... 'Z' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9a... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-8f410fffb975fb62/out/pds.rs:140:361 [INFO] [stdout] | [INFO] [stdout] 140 | ...feff}' | '\u{1680}' | '\u{180e}' | '\u{2000}' ... '\u{200a}' | '\u{202f}' | '\u{205f}' | '\u{3000}' => Matched ( __next , ( ) ) , _ =>... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ident` [INFO] [stdout] --> src/frontend/protocol_spec/to_ir/spec.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use super::super::ast::{Ident, Statement, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RelativeNSPath` [INFO] [stdout] --> src/frontend/protocol_spec/to_ir/compilation_unit.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use ::ir::compilation_unit::{CompilationUnit, RelativeNSPath, CanonicalNSPath, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegerSize`, `IntegerSpec` [INFO] [stdout] --> src/frontend/protocol_spec/to_ir/compilation_unit.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use ::ir::type_spec::{TypeSpecVariant, IntegerSpec, IntegerSize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / macro_rules! unwrap_ok { [INFO] [stdout] 49 | | ($e:expr) => { [INFO] [stdout] 50 | | match $e { [INFO] [stdout] 51 | | Ok(inner) => inner, [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / macro_rules! unwrap_error { [INFO] [stdout] 61 | | ($e:expr) => { [INFO] [stdout] 62 | | match $e { [INFO] [stdout] 63 | | Ok(inner) => { [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | links { [INFO] [stdout] 8 | | //JsonParseError( [INFO] [stdout] 9 | | // ::frontend::protocol_json::Error, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/ir/spec/reference/mod.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | for is_up in (0..(self.up)).map(|_| true).intersperse(false) { [INFO] [stdout] | ^^^^^^^^^^^ multiple `intersperse` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Itertools` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 32 | for is_up in Iterator::intersperse((0..(self.up)).map(|_| true), false) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 32 | for is_up in Itertools::intersperse((0..(self.up)).map(|_| true), false) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/ir/spec/reference/mod.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | for item in self.items.iter().map(|i| Some(i)).intersperse(None) { [INFO] [stdout] | ^^^^^^^^^^^ multiple `intersperse` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Itertools` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 44 | for item in Iterator::intersperse(self.items.iter().map(|i| Some(i)), None) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 44 | for item in Itertools::intersperse(self.items.iter().map(|i| Some(i)), None) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | links { [INFO] [stdout] 8 | | //JsonParseError( [INFO] [stdout] 9 | | // ::frontend::protocol_json::Error, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/ir/spec/reference/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `protodefc` due to 3 previous errors; 46 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29e1fbd8b81159a2b6ef86968760524a57339b9e76b119c62baec66084c3a9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e1fbd8b81159a2b6ef86968760524a57339b9e76b119c62baec66084c3a9c8", kill_on_drop: false }` [INFO] [stdout] 29e1fbd8b81159a2b6ef86968760524a57339b9e76b119c62baec66084c3a9c8