[INFO] cloning repository https://github.com/JamesHinshelwood/dpl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JamesHinshelwood/dpl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesHinshelwood%2Fdpl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesHinshelwood%2Fdpl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b647ebfdd7b970ded7bb8c3e8fd8a8e3654ca2e5 [INFO] checking JamesHinshelwood/dpl/b647ebfdd7b970ded7bb8c3e8fd8a8e3654ca2e5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesHinshelwood%2Fdpl" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JamesHinshelwood/dpl 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 git repo https://github.com/JamesHinshelwood/dpl [INFO] finished tweaking git repo https://github.com/JamesHinshelwood/dpl [INFO] tweaked toml for git repo https://github.com/JamesHinshelwood/dpl written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JamesHinshelwood/dpl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 68ddba4d676ab7df01d4cd51703fc02148f3732f93a4b3c629918b83945bede8 [INFO] running `Command { std: "docker" "start" "-a" "68ddba4d676ab7df01d4cd51703fc02148f3732f93a4b3c629918b83945bede8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68ddba4d676ab7df01d4cd51703fc02148f3732f93a4b3c629918b83945bede8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ddba4d676ab7df01d4cd51703fc02148f3732f93a4b3c629918b83945bede8", kill_on_drop: false }` [INFO] [stdout] 68ddba4d676ab7df01d4cd51703fc02148f3732f93a4b3c629918b83945bede8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 12eefbc5715c5e40c89dbd09639c96cf667e78d54d4d175c96b4b777abd3f2b3 [INFO] running `Command { std: "docker" "start" "-a" "12eefbc5715c5e40c89dbd09639c96cf667e78d54d4d175c96b4b777abd3f2b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling moniker-derive v0.5.0 [INFO] [stderr] Checking moniker v0.5.0 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling dpl v0.1.0 (/opt/rustwide/workdir/dpl) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:2891:5 [INFO] [stdout] | [INFO] [stdout] 2891 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2891 - (__0) [INFO] [stdout] 2891 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:2891:5 [INFO] [stdout] | [INFO] [stdout] 2891 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2891 - (__0) [INFO] [stdout] 2891 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:3405:5 [INFO] [stdout] | [INFO] [stdout] 3405 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3405 - (__0) [INFO] [stdout] 3405 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:3463:5 [INFO] [stdout] | [INFO] [stdout] 3463 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3463 - (__0) [INFO] [stdout] 3463 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:3405:5 [INFO] [stdout] | [INFO] [stdout] 3405 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3405 - (__0) [INFO] [stdout] 3405 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:3463:5 [INFO] [stdout] | [INFO] [stdout] 3463 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3463 - (__0) [INFO] [stdout] 3463 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:3881:8 [INFO] [stdout] | [INFO] [stdout] 3880 | pub trait __ToTriple<'input, > { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 3881 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dpl/src/ast.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, BoundTerm)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `BoundTerm` is not local [INFO] [stdout] | `String` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_moniker_BoundTerm_String_FOR_Term` [INFO] [stdout] 8 | pub enum Term { [INFO] [stdout] | ---- `Term` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BoundTerm` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BoundTerm` may come from an old version of the `moniker_derive` crate, try updating your dependency with `cargo update -p moniker_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `BoundTerm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/dpl-7cc5369a036b4840/out/grammar.rs:3881:8 [INFO] [stdout] | [INFO] [stdout] 3880 | pub trait __ToTriple<'input, > { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 3881 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dpl/src/ast.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, BoundTerm)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `BoundTerm` is not local [INFO] [stdout] | `String` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_moniker_BoundTerm_String_FOR_Term` [INFO] [stdout] 8 | pub enum Term { [INFO] [stdout] | ---- `Term` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BoundTerm` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BoundTerm` may come from an old version of the `moniker_derive` crate, try updating your dependency with `cargo update -p moniker_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `BoundTerm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dpl-cli v0.1.0 (/opt/rustwide/workdir/dpl-cli) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "12eefbc5715c5e40c89dbd09639c96cf667e78d54d4d175c96b4b777abd3f2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12eefbc5715c5e40c89dbd09639c96cf667e78d54d4d175c96b4b777abd3f2b3", kill_on_drop: false }` [INFO] [stdout] 12eefbc5715c5e40c89dbd09639c96cf667e78d54d4d175c96b4b777abd3f2b3