[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 against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesHinshelwood%2Fdpl" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JamesHinshelwood/dpl on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.2.15 [INFO] [stderr] Downloaded structopt v0.2.15 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded moniker-derive v0.5.0 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded phf_shared v0.7.24 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded cfg-if v0.1.7 [INFO] [stderr] Downloaded ascii-canvas v1.0.0 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded siphasher v0.2.3 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.3 [INFO] [stderr] Downloaded digest v0.8.0 [INFO] [stderr] Downloaded block-buffer v0.7.0 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded lalrpop-util v0.16.3 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded string_cache_codegen v0.4.2 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded redox_syscall v0.1.52 [INFO] [stderr] Downloaded string_cache v0.7.3 [INFO] [stderr] Downloaded block-padding v0.1.3 [INFO] [stderr] Downloaded quote v0.6.11 [INFO] [stderr] Downloaded phf_generator v0.7.24 [INFO] [stderr] Downloaded autocfg v0.1.2 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded opaque-debug v0.2.2 [INFO] [stderr] Downloaded diff v0.1.11 [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded generic-array v0.12.0 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded memchr v2.2.0 [INFO] [stderr] Downloaded synstructure v0.10.1 [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded typenum v1.10.0 [INFO] [stderr] Downloaded moniker v0.5.0 [INFO] [stderr] Downloaded rand_jitter v0.1.3 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded ena v0.11.0 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.27 [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded docopt v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.89 [INFO] [stderr] Downloaded log v0.4.6 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded aho-corasick v0.7.3 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded serde v1.0.89 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded regex v1.1.5 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded lalrpop v0.16.3 [INFO] [stderr] Downloaded regex-syntax v0.6.6 [INFO] [stderr] Downloaded libc v0.2.51 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215 [INFO] running `Command { std: "docker" "start" "b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.1.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 rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling ena v0.11.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 unicode-segmentation v1.2.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling moniker-derive v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.2.15 [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-44aa0a00bef26d49/out/grammar.rs:2891:5 [INFO] [stdout] | [INFO] [stdout] 2891 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) 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-44aa0a00bef26d49/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-44aa0a00bef26d49/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-44aa0a00bef26d49/out/grammar.rs:2891:5 [INFO] [stdout] | [INFO] [stdout] 2891 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) 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-44aa0a00bef26d49/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-44aa0a00bef26d49/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: 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: `#[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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> dpl/src/parser.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_term(term: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden 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] 28 | pub fn parse_term(term: &str) -> Result, &str>> { [INFO] [stdout] | ++++ [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: `#[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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> dpl/src/parser.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_term(term: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden 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] 28 | pub fn parse_term(term: &str) -> Result, &str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dpl-cli v0.1.0 (/opt/rustwide/workdir/dpl-cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.86s [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" "b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215", kill_on_drop: false }` [INFO] [stdout] b1d90067d9488931175eca76e084123b86873623dfdfba267e987927f8093215