[INFO] fetching crate midl-parser 0.1.1... [INFO] testing midl-parser-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate midl-parser 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate midl-parser 0.1.1 [INFO] finished tweaking crates.io crate midl-parser 0.1.1 [INFO] tweaked toml for crates.io crate midl-parser 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midl-parser 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 315f09e26040df73dfe6627c85138ee0494df4280587ab5264817f51bcff1a68 [INFO] running `Command { std: "docker" "start" "-a" "315f09e26040df73dfe6627c85138ee0494df4280587ab5264817f51bcff1a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315f09e26040df73dfe6627c85138ee0494df4280587ab5264817f51bcff1a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315f09e26040df73dfe6627c85138ee0494df4280587ab5264817f51bcff1a68", kill_on_drop: false }` [INFO] [stdout] 315f09e26040df73dfe6627c85138ee0494df4280587ab5264817f51bcff1a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fc9dbfd258e4ea2d03ff56a721cbfd308e293a0c01f1d39b6bd949d789b8c47 [INFO] running `Command { std: "docker" "start" "-a" "4fc9dbfd258e4ea2d03ff56a721cbfd308e293a0c01f1d39b6bd949d789b8c47", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling frodobuf-schema v0.1.1 [INFO] [stderr] Compiling midl-parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/linked_hash_map.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #![cfg_attr(all(feature = "nightly", test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | #![cfg_attr(feature = "clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | #![cfg_attr(feature = "clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | #![cfg_attr(feature = "clippy", deny(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/linked_hash_map.rs:1471:11 [INFO] [stdout] | [INFO] [stdout] 1471 | #[cfg(all(feature = "nightly", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ParserError` [INFO] [stdout] --> src/model.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::parser::ParserError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::tokenizer::TokenizerResult` [INFO] [stdout] --> src/lexer/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::tokenizer::TokenizerResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | for mut service in services.iter_mut() { [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: struct `WithLoc` is never constructed [INFO] [stdout] --> src/model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WithLoc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToU8` is never used [INFO] [stdout] --> src/parser.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | trait ToU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToChar` is never used [INFO] [stdout] --> src/parser.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | trait ToChar { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/linked_hash_map.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | Box::from_raw(cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = Box::from_raw(cur); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn entry(&mut self, k: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn entry(&mut self, k: K) -> Entry<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn entries(&mut self) -> Entries { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | pub fn entries(&mut self) -> Entries<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 657 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:691:21 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 691 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 722 | pub fn keys(&self) -> Keys<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:743:19 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn values(&self) -> Values { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 743 | pub fn values(&self) -> Values<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/linked_hash_map.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | Box::from_raw(self.tail); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1184 | let _ = Box::from_raw(self.tail); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.88s [INFO] running `Command { std: "docker" "inspect" "4fc9dbfd258e4ea2d03ff56a721cbfd308e293a0c01f1d39b6bd949d789b8c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc9dbfd258e4ea2d03ff56a721cbfd308e293a0c01f1d39b6bd949d789b8c47", kill_on_drop: false }` [INFO] [stdout] 4fc9dbfd258e4ea2d03ff56a721cbfd308e293a0c01f1d39b6bd949d789b8c47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72dcea992b4f70d23d8396d98fea10effa5c3d2bb17aa9a21d54d1145ad49145 [INFO] running `Command { std: "docker" "start" "-a" "72dcea992b4f70d23d8396d98fea10effa5c3d2bb17aa9a21d54d1145ad49145", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/linked_hash_map.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #![cfg_attr(all(feature = "nightly", test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | #![cfg_attr(feature = "clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | #![cfg_attr(feature = "clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | #![cfg_attr(feature = "clippy", deny(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/linked_hash_map.rs:1471:11 [INFO] [stdout] | [INFO] [stdout] 1471 | #[cfg(all(feature = "nightly", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ParserError` [INFO] [stdout] --> src/model.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::parser::ParserError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::tokenizer::TokenizerResult` [INFO] [stdout] --> src/lexer/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::tokenizer::TokenizerResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | for mut service in services.iter_mut() { [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: struct `WithLoc` is never constructed [INFO] [stdout] --> src/model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WithLoc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToU8` is never used [INFO] [stdout] --> src/parser.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | trait ToU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToChar` is never used [INFO] [stdout] --> src/parser.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | trait ToChar { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/linked_hash_map.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | Box::from_raw(cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = Box::from_raw(cur); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn entry(&mut self, k: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn entry(&mut self, k: K) -> Entry<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn entries(&mut self) -> Entries { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | pub fn entries(&mut self) -> Entries<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 657 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:691:21 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 691 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 722 | pub fn keys(&self) -> Keys<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:743:19 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn values(&self) -> Values { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 743 | pub fn values(&self) -> Values<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/linked_hash_map.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | Box::from_raw(self.tail); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1184 | let _ = Box::from_raw(self.tail); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling midl-parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/linked_hash_map.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #![cfg_attr(all(feature = "nightly", test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | #![cfg_attr(feature = "clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | #![cfg_attr(feature = "clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/linked_hash_map.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | #![cfg_attr(feature = "clippy", deny(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/linked_hash_map.rs:1471:11 [INFO] [stdout] | [INFO] [stdout] 1471 | #[cfg(all(feature = "nightly", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ParserError` [INFO] [stdout] --> src/model.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::parser::ParserError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::tokenizer::TokenizerResult` [INFO] [stdout] --> src/lexer/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::tokenizer::TokenizerResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | for mut service in services.iter_mut() { [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: struct `WithLoc` is never constructed [INFO] [stdout] --> src/model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WithLoc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToU8` is never used [INFO] [stdout] --> src/parser.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | trait ToU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToChar` is never used [INFO] [stdout] --> src/parser.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | trait ToChar { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/linked_hash_map.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | Box::from_raw(cur); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = Box::from_raw(cur); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn entry(&mut self, k: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn entry(&mut self, k: K) -> Entry<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn entries(&mut self) -> Entries { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | pub fn entries(&mut self) -> Entries<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 657 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:691:21 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 691 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 722 | pub fn keys(&self) -> Keys<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_hash_map.rs:743:19 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn values(&self) -> Values { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 743 | pub fn values(&self) -> Values<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/linked_hash_map.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | Box::from_raw(self.tail); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1184 | let _ = Box::from_raw(self.tail); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "72dcea992b4f70d23d8396d98fea10effa5c3d2bb17aa9a21d54d1145ad49145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72dcea992b4f70d23d8396d98fea10effa5c3d2bb17aa9a21d54d1145ad49145", kill_on_drop: false }` [INFO] [stdout] 72dcea992b4f70d23d8396d98fea10effa5c3d2bb17aa9a21d54d1145ad49145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71a971e32671d206c68fbd5eeb96d85f1503f9f3ffab9e0d6865ea73c23544a5 [INFO] running `Command { std: "docker" "start" "-a" "71a971e32671d206c68fbd5eeb96d85f1503f9f3ffab9e0d6865ea73c23544a5", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/linked_hash_map.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | #![cfg_attr(all(feature = "nightly", test), feature(test))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `clippy` [INFO] [stderr] --> src/linked_hash_map.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | #![cfg_attr(feature = "clippy", feature(plugin))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `clippy` [INFO] [stderr] --> src/linked_hash_map.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | #![cfg_attr(feature = "clippy", plugin(clippy))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `clippy` [INFO] [stderr] --> src/linked_hash_map.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | #![cfg_attr(feature = "clippy", deny(clippy))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/linked_hash_map.rs:1471:11 [INFO] [stderr] | [INFO] [stderr] 1471 | #[cfg(all(feature = "nightly", test))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::parser::ParserError` [INFO] [stderr] --> src/model.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use crate::parser::ParserError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::tokenizer::TokenizerResult` [INFO] [stderr] --> src/lexer/mod.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub use self::tokenizer::TokenizerResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser.rs:981:13 [INFO] [stderr] | [INFO] [stderr] 981 | for mut service in services.iter_mut() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `WithLoc` is never constructed [INFO] [stderr] --> src/model.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct WithLoc { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `ToU8` is never used [INFO] [stderr] --> src/parser.rs:152:7 [INFO] [stderr] | [INFO] [stderr] 152 | trait ToU8 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ToChar` is never used [INFO] [stderr] --> src/parser.rs:164:7 [INFO] [stderr] | [INFO] [stderr] 164 | trait ToChar { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/linked_hash_map.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | Box::from_raw(cur); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 172 | let _ = Box::from_raw(cur); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linked_hash_map.rs:258:18 [INFO] [stderr] | [INFO] [stderr] 258 | pub fn entry(&mut self, k: K) -> Entry { [INFO] [stderr] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 258 | pub fn entry(&mut self, k: K) -> Entry<'_, K, V, S> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linked_hash_map.rs:294:20 [INFO] [stderr] | [INFO] [stderr] 294 | pub fn entries(&mut self) -> Entries { [INFO] [stderr] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 294 | pub fn entries(&mut self) -> Entries<'_, K, V, S> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linked_hash_map.rs:657:17 [INFO] [stderr] | [INFO] [stderr] 657 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 657 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linked_hash_map.rs:691:21 [INFO] [stderr] | [INFO] [stderr] 691 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 691 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linked_hash_map.rs:722:17 [INFO] [stderr] | [INFO] [stderr] 722 | pub fn keys(&self) -> Keys { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 722 | pub fn keys(&self) -> Keys<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linked_hash_map.rs:743:19 [INFO] [stderr] | [INFO] [stderr] 743 | pub fn values(&self) -> Values { [INFO] [stderr] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 743 | pub fn values(&self) -> Values<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/linked_hash_map.rs:1184:17 [INFO] [stderr] | [INFO] [stderr] 1184 | Box::from_raw(self.tail); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1184 | let _ = Box::from_raw(self.tail); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `midl-parser` (lib) generated 19 warnings (run `cargo fix --lib -p midl-parser` to apply 9 suggestions) [INFO] [stderr] warning: `midl-parser` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/midl_parser-cdf1040d678cab37) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test lexer::lexer_impl::test::test_lexer_float_lit ... ok [INFO] [stdout] test lexer::lexer_impl::test::test_lexer_int_lit ... ok [INFO] [stdout] test lexer::tokenizer::test::test_ident ... ok [INFO] [stdout] test lexer::tokenizer::test::test_str_lit ... ok [INFO] [stdout] test parser::test::test_default_value_false ... ok [INFO] [stdout] test parser::test::test_default_value_int ... ok [INFO] [stdout] test parser::test::test_default_value_string ... ok [INFO] [stdout] test parser::test::test_ignore ... ok [INFO] [stdout] test parser::test::test_default_value_int_neg ... ok [INFO] [stdout] test parser::test::test_map ... ok [INFO] [stdout] test parser::test::test_enum ... ok [INFO] [stdout] test parser::test::test_incorrect_file_descriptor ... ok [INFO] [stdout] test parser::test::test_default_value_true ... ok [INFO] [stdout] test tests::field_attr_ident ... ok [INFO] [stdout] test parser::test::test_message ... ok [INFO] [stdout] test tests::data_types ... ok [INFO] [stdout] test parser::test::test_import ... ok [INFO] [stdout] test parser::test::test_nested_message ... ok [INFO] [stdout] test tests::field_attribute ... ok [INFO] [stdout] test tests::message_field ... ok [INFO] [stdout] test tests::message_attr_ident ... ok [INFO] [stdout] test tests::nested_message ... ok [INFO] [stdout] test tests::message_attr_values ... ok [INFO] [stdout] test lexer::str_lit::test::decode_utf8 ... ok [INFO] [stdout] test tests::proto_options ... ok [INFO] [stdout] test tests::simple_message ... ok [INFO] [stdout] test tests::optional_field ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests midl_parser [INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> src/lib.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | #![deny(broken_intra_doc_links)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::get (line 373) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::Entry<'a,K,V,S>::key (line 1341) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::get_mut (line 399) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::back (line 591) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map (line 22) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::capacity (line 492) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::front (line 537) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::entry (line 243) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::insert (line 313) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::entries (line 277) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::get_refresh (line 426) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::pop_back (line 561) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::keys (line 708) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::iter_mut (line 674) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::pop_front (line 507) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::values (line 729) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::iter (line 643) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::VacantEntry<'a,K,V,S>::key (line 1434) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::LinkedHashMap::remove (line 458) ... ok [INFO] [stdout] test src/linked_hash_map.rs - linked_hash_map::OccupiedEntry<'a,K,V,S>::key (line 1379) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "71a971e32671d206c68fbd5eeb96d85f1503f9f3ffab9e0d6865ea73c23544a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a971e32671d206c68fbd5eeb96d85f1503f9f3ffab9e0d6865ea73c23544a5", kill_on_drop: false }` [INFO] [stdout] 71a971e32671d206c68fbd5eeb96d85f1503f9f3ffab9e0d6865ea73c23544a5