[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] checking ProtoDef-io/protodefc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProtoDef-io%2Fprotodefc" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProtoDef-io/protodefc on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-9/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95a791463efab8ee10c67ce1f6b7b0ea9178ee32e839254e41e87ad6291d5080 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95a791463efab8ee10c67ce1f6b7b0ea9178ee32e839254e41e87ad6291d5080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a791463efab8ee10c67ce1f6b7b0ea9178ee32e839254e41e87ad6291d5080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a791463efab8ee10c67ce1f6b7b0ea9178ee32e839254e41e87ad6291d5080", kill_on_drop: false }` [INFO] [stdout] 95a791463efab8ee10c67ce1f6b7b0ea9178ee32e839254e41e87ad6291d5080 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b56e88186ea5dd58487ad450f014791ba78cea5148a5cb4abed1f3702cee816f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b56e88186ea5dd58487ad450f014791ba78cea5148a5cb4abed1f3702cee816f", 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] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking serde v1.0.2 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking json v0.11.6 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking matches v0.1.4 [INFO] [stderr] Checking Inflector v0.10.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling peg v0.5.2 [INFO] [stderr] Compiling protodefc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-bigint v0.2.0 [INFO] [stderr] Checking serde_json v1.0.1 [INFO] [stderr] Checking toml v0.4.0 [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] [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] [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] [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] [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] [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] [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-3eade131a4abd56e/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-3eade131a4abd56e/out/pds.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | self . expected . len() == 0 { try ! (write ! (fmt, "EOF")) ; } else [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-3eade131a4abd56e/out/pds.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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-3eade131a4abd56e/out/pds.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | 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-3eade131a4abd56e/out/pds.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | { 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-3eade131a4abd56e/out/pds.rs:121:529 [INFO] [stdout] | [INFO] [stdout] 121 | ...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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-3eade131a4abd56e/out/pds.rs:121:543 [INFO] [stdout] | [INFO] [stdout] 121 | ...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] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-3eade131a4abd56e/out/pds.rs:121:557 [INFO] [stdout] | [INFO] [stdout] 121 | ... 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] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-3eade131a4abd56e/out/pds.rs:139:361 [INFO] [stdout] | [INFO] [stdout] 139 | ...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] [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: 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] [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] [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] [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] [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] [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] [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-3eade131a4abd56e/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-3eade131a4abd56e/out/pds.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | self . expected . len() == 0 { try ! (write ! (fmt, "EOF")) ; } else [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-3eade131a4abd56e/out/pds.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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-3eade131a4abd56e/out/pds.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | 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-3eade131a4abd56e/out/pds.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | { 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-3eade131a4abd56e/out/pds.rs:121:529 [INFO] [stdout] | [INFO] [stdout] 121 | ...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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-3eade131a4abd56e/out/pds.rs:121:543 [INFO] [stdout] | [INFO] [stdout] 121 | ...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] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-3eade131a4abd56e/out/pds.rs:121:557 [INFO] [stdout] | [INFO] [stdout] 121 | ... 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] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/protodefc-3eade131a4abd56e/out/pds.rs:139:361 [INFO] [stdout] | [INFO] [stdout] 139 | ...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] [INFO] [stdout] warning: unused import: `super::ir_to_spec` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::ir_to_spec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::protocol_spec::ast::printer::print` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use self::protocol_spec::ast::printer::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::protocol_spec::ast::Block` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use self::protocol_spec::ast::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => None, [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/ir/compilation_unit/mod.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/backend/imperative_base/mod.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/backend/javascript/ib_to_js.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/backend/python/ib_to_py.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => None, [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/ir/compilation_unit/mod.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ir/compilation_unit/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ir/spec/variant/mod.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_type(&self, data: &TypeData) -> VariantType { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_type(&self, data: &TypeData) -> VariantType { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | CompilePass::ResolveReferencedTypes(ref path, ref cu) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ir/type_spec/literal.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | fn parse_binary(data: &BinarySpec, input_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/backend/imperative_base/mod.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count_root_node` [INFO] [stdout] --> src/backend/imperative_base/deserialize.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let count_root_node = data.get_reference_root(self.count_handle).upgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_count_root_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_var` [INFO] [stdout] --> src/backend/imperative_base/deserialize.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let item_var = format!("array_{}_index", ident); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_spec` [INFO] [stdout] --> src/backend/imperative_base/reference.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | ref node, ref type_spec, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_spec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_spec` [INFO] [stdout] --> src/backend/imperative_base/reference.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | ref type_spec, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_spec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/backend/javascript/ib_to_js.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | ib::Operation::TypeCall { ref input_var, ref type_name, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/backend/javascript/ib_to_js.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/backend/rust/ib_to_rs.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | ... ref cases, ref default, ref enum_type } } => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/backend/rust/ib_to_rs.rs:39:66 [INFO] [stdout] | [INFO] [stdout] 39 | ... ref cases, ref default, ref enum_type } } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ_name_size_of` [INFO] [stdout] --> src/backend/rust/cu_to_rs.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let typ_name_size_of = format!("{}_size_of", typ_base_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typ_name_size_of` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ_name_deserialize` [INFO] [stdout] --> src/backend/rust/cu_to_rs.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let typ_name_deserialize = format!("{}_deserialize", typ_base_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typ_name_deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length_var` [INFO] [stdout] --> src/backend/python/ib_to_py.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let length_var = format!("{}_length", index_var); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/backend/python/ib_to_py.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | ib::Operation::TypeCall { ref input_var, ref type_name, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/backend/python/ib_to_py.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native` [INFO] [stdout] --> src/backend/json_spec/mod.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | TypeKind::Native(ref native) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ_data` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let typ_data = &typ_inner.data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typ_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/pass/resolve_reference.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | fn validate_causality(target: &mut ReferenceData) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ir/spec/variant/mod.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_type(&self, data: &TypeData) -> VariantType { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_type(&self, data: &TypeData) -> VariantType { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | CompilePass::ResolveReferencedTypes(ref path, ref cu) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ir/type_spec/literal.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | fn parse_binary(data: &BinarySpec, input_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count_root_node` [INFO] [stdout] --> src/backend/imperative_base/deserialize.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let count_root_node = data.get_reference_root(self.count_handle).upgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_count_root_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_var` [INFO] [stdout] --> src/backend/imperative_base/deserialize.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let item_var = format!("array_{}_index", ident); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_spec` [INFO] [stdout] --> src/backend/imperative_base/reference.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | ref node, ref type_spec, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_spec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_spec` [INFO] [stdout] --> src/backend/imperative_base/reference.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | ref type_spec, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_spec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/backend/javascript/ib_to_js.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | ib::Operation::TypeCall { ref input_var, ref type_name, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/backend/rust/ib_to_rs.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | ... ref cases, ref default, ref enum_type } } => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/backend/rust/ib_to_rs.rs:39:66 [INFO] [stdout] | [INFO] [stdout] 39 | ... ref cases, ref default, ref enum_type } } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ_name_size_of` [INFO] [stdout] --> src/backend/rust/cu_to_rs.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let typ_name_size_of = format!("{}_size_of", typ_base_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typ_name_size_of` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ_name_deserialize` [INFO] [stdout] --> src/backend/rust/cu_to_rs.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let typ_name_deserialize = format!("{}_deserialize", typ_base_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typ_name_deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length_var` [INFO] [stdout] --> src/backend/python/ib_to_py.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let length_var = format!("{}_length", index_var); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/backend/python/ib_to_py.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | ib::Operation::TypeCall { ref input_var, ref type_name, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native` [INFO] [stdout] --> src/backend/json_spec/mod.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | TypeKind::Native(ref native) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ_data` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let typ_data = &typ_inner.data; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typ_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/pass/resolve_reference.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | fn validate_causality(target: &mut ReferenceData) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut data = TypeData::default(); [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: variable does not need to be mutable [INFO] [stdout] --> src/ir/spec/variant/simple_scalar.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut data = TypeData::default(); [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: variable does not need to be mutable [INFO] [stdout] --> src/backend/rust/ib_to_rs.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut cases = cases.iter() [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/backend/rust/ib_to_rs.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut cases = cases.iter() [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/backend/python/ib_to_py.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut cases: Vec<(Expr, Block)> = cases.iter() [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/backend/python/ib_to_py.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut cases: Vec<(Expr, Block)> = cases.iter() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `WeakDefinedTypeSpecContainer` [INFO] [stdout] --> src/ir/compilation_unit/defined_type_spec.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type WeakDefinedTypeSpecContainer = WeakContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexOne` [INFO] [stdout] --> src/ir/type_spec/literal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | HexOne(bool), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexTwo` [INFO] [stdout] --> src/ir/type_spec/literal.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | HexTwo(u8, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/ir/target_type.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(&self, raw: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ir/target_type.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Integer(u64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bytes` [INFO] [stdout] --> src/ir/target_type.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Bytes(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Enum` [INFO] [stdout] --> src/ir/target_type.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Enum(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/ir/target_type.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_type(&self) -> TargetType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_compile` [INFO] [stdout] --> src/backend/imperative_base/tests/mod.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn test_compile(spec: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AssignBlock` [INFO] [stdout] --> src/backend/rust/builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / AssignBlock { [INFO] [stdout] 11 | | is_let: bool, [INFO] [stdout] 12 | | lhs: String, [INFO] [stdout] 13 | | rhs: Block, [INFO] [stdout] 14 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/backend/rust/builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / Block { [INFO] [stdout] 19 | | block: Block, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Module` [INFO] [stdout] --> src/backend/rust/builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / Module { [INFO] [stdout] 25 | | name: String, [INFO] [stdout] 26 | | block: Block, [INFO] [stdout] 27 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block` [INFO] [stdout] --> src/backend/rust/builder.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn block(&mut self, block: Block) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_error` [INFO] [stdout] --> src/frontend/protocol_spec/ast/parser.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn format_error(input: &str, error: pds::ParseError) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ir_to_spec` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn ir_to_spec(type_name: String, typ: TypeContainer) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ir_to_spec_inner` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn ir_to_spec_inner(typ: TypeContainer) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `WeakDefinedTypeSpecContainer` [INFO] [stdout] --> src/ir/compilation_unit/defined_type_spec.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type WeakDefinedTypeSpecContainer = WeakContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexOne` [INFO] [stdout] --> src/ir/type_spec/literal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | HexOne(bool), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HexTwo` [INFO] [stdout] --> src/ir/type_spec/literal.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | HexTwo(u8, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/ir/target_type.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(&self, raw: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ir/target_type.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Integer(u64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bytes` [INFO] [stdout] --> src/ir/target_type.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Bytes(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Enum` [INFO] [stdout] --> src/ir/target_type.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Enum(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_type` [INFO] [stdout] --> src/ir/target_type.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_type(&self) -> TargetType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AssignBlock` [INFO] [stdout] --> src/backend/rust/builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / AssignBlock { [INFO] [stdout] 11 | | is_let: bool, [INFO] [stdout] 12 | | lhs: String, [INFO] [stdout] 13 | | rhs: Block, [INFO] [stdout] 14 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/backend/rust/builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / Block { [INFO] [stdout] 19 | | block: Block, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Module` [INFO] [stdout] --> src/backend/rust/builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / Module { [INFO] [stdout] 25 | | name: String, [INFO] [stdout] 26 | | block: Block, [INFO] [stdout] 27 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block` [INFO] [stdout] --> src/backend/rust/builder.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn block(&mut self, block: Block) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_error` [INFO] [stdout] --> src/frontend/protocol_spec/ast/parser.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn format_error(input: &str, error: pds::ParseError) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ir_to_spec` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn ir_to_spec(type_name: String, typ: TypeContainer) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ir_to_spec_inner` [INFO] [stdout] --> src/frontend/protocol_spec/from_ir.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn ir_to_spec_inner(typ: TypeContainer) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protodefc::ir::spec::TypeContainer` [INFO] [stdout] --> tests/spec_compile.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use protodefc::ir::spec::TypeContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "b56e88186ea5dd58487ad450f014791ba78cea5148a5cb4abed1f3702cee816f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56e88186ea5dd58487ad450f014791ba78cea5148a5cb4abed1f3702cee816f", kill_on_drop: false }` [INFO] [stdout] b56e88186ea5dd58487ad450f014791ba78cea5148a5cb4abed1f3702cee816f