[INFO] fetching crate rtps-idl 0.2.0... [INFO] checking rtps-idl-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rtps-idl 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rtps-idl 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtps-idl 0.2.0 [INFO] finished tweaking crates.io crate rtps-idl 0.2.0 [INFO] tweaked toml for crates.io crate rtps-idl 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding pest v1.0.6 (available: v2.7.13) [INFO] [stderr] Adding pest_derive v1.0.8 (available: v2.7.13) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.37) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.79) [INFO] [stderr] Adding unicode-xid v0.0.4 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3a11175bbd0b052eee706c5fb758fd2f8ef86519531fd74382afcc9d30b52f1 [INFO] running `Command { std: "docker" "start" "-a" "f3a11175bbd0b052eee706c5fb758fd2f8ef86519531fd74382afcc9d30b52f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3a11175bbd0b052eee706c5fb758fd2f8ef86519531fd74382afcc9d30b52f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a11175bbd0b052eee706c5fb758fd2f8ef86519531fd74382afcc9d30b52f1", kill_on_drop: false }` [INFO] [stdout] f3a11175bbd0b052eee706c5fb758fd2f8ef86519531fd74382afcc9d30b52f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a13fbfb3a31780398c93b3cc8070566f2b4be93698525b29fba4f88e54b81582 [INFO] running `Command { std: "docker" "start" "-a" "a13fbfb3a31780398c93b3cc8070566f2b4be93698525b29fba4f88e54b81582", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rtps-idl-grammar v0.2.3 [INFO] [stderr] Checking rtps-idl v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'i> Context<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 78 | pub fn new(config: &'i Configuration) -> Context { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:473:77 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn process(&mut self, scope: &mut Scope, loader: &mut IdlLoader, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 | pub fn process(&mut self, scope: &mut Scope, loader: &mut dyn IdlLoader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'i> Context<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 78 | pub fn new(config: &'i Configuration) -> Context { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:473:77 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn process(&mut self, scope: &mut Scope, loader: &mut IdlLoader, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 | pub fn process(&mut self, scope: &mut Scope, loader: &mut dyn IdlLoader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `definitions` is never read [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Context<'i> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 71 | config: &'i Configuration, [INFO] [stdout] 72 | definitions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ast.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | SequenceType(Box, Option>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IdlTypeSpec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 226 | SequenceType(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/ast.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct IdlModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 436 | pub id: Option, [INFO] [stdout] 437 | pub level: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdlModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `definitions` is never read [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Context<'i> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 71 | config: &'i Configuration, [INFO] [stdout] 72 | definitions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ast.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | SequenceType(Box, Option>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IdlTypeSpec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 226 | SequenceType(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/ast.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct IdlModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 436 | pub id: Option, [INFO] [stdout] 437 | pub level: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdlModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "a13fbfb3a31780398c93b3cc8070566f2b4be93698525b29fba4f88e54b81582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13fbfb3a31780398c93b3cc8070566f2b4be93698525b29fba4f88e54b81582", kill_on_drop: false }` [INFO] [stdout] a13fbfb3a31780398c93b3cc8070566f2b4be93698525b29fba4f88e54b81582