[INFO] cloning repository https://github.com/thejohncrafter/projets-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thejohncrafter/projets-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c4525f5d241a67663a1f74f2326abd2890c44fa [INFO] checking thejohncrafter/projets-2020 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thejohncrafter/projets-2020 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thejohncrafter/projets-2020 [INFO] finished tweaking git repo https://github.com/thejohncrafter/projets-2020 [INFO] tweaked toml for git repo https://github.com/thejohncrafter/projets-2020 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thejohncrafter/projets-2020 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df3661910808590e077ca8ddd77fe0c8fcd40ac8e1c5ac684582d987abf58b8 [INFO] running `Command { std: "docker" "start" "-a" "9df3661910808590e077ca8ddd77fe0c8fcd40ac8e1c5ac684582d987abf58b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df3661910808590e077ca8ddd77fe0c8fcd40ac8e1c5ac684582d987abf58b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df3661910808590e077ca8ddd77fe0c8fcd40ac8e1c5ac684582d987abf58b8", kill_on_drop: false }` [INFO] [stdout] 9df3661910808590e077ca8ddd77fe0c8fcd40ac8e1c5ac684582d987abf58b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 568d59b23ab8fd8bbbe7de2ee60766a6e5c59f2f9ca19ff826864caaae5d423c [INFO] running `Command { std: "docker" "start" "-a" "568d59b23ab8fd8bbbe7de2ee60766a6e5c59f2f9ca19ff826864caaae5d423c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling automata v0.1.0 (/opt/rustwide/workdir/automata) [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> automata/src/parser/builder.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, I> Builder<'a, I> where [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> automata/src/parser/builder.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, I> Builder<'a, I> where [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` has a derived impl for the trait `Debug`, but this is 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `(S, String)` to `(S, String)` [INFO] [stdout] --> automata/src/parser/pda.rs:83:57 [INFO] [stdout] | [INFO] [stdout] 83 | let built = built.map_err(|msg| (span, msg).into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (lib) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` has a derived impl for the trait `Debug`, but this is 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `(S, String)` to `(S, String)` [INFO] [stdout] --> automata/src/parser/pda.rs:83:57 [INFO] [stdout] | [INFO] [stdout] 83 | let built = built.map_err(|msg| (span, msg).into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "568d59b23ab8fd8bbbe7de2ee60766a6e5c59f2f9ca19ff826864caaae5d423c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568d59b23ab8fd8bbbe7de2ee60766a6e5c59f2f9ca19ff826864caaae5d423c", kill_on_drop: false }` [INFO] [stdout] 568d59b23ab8fd8bbbe7de2ee60766a6e5c59f2f9ca19ff826864caaae5d423c