[INFO] cloning repository https://github.com/mozilla/rust-cpp-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mozilla/rust-cpp-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-cpp-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-cpp-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24b06d1c481efa2265c99f78a741fd617541b98e [INFO] checking mozilla/rust-cpp-parser against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-cpp-parser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mozilla/rust-cpp-parser on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mozilla/rust-cpp-parser [INFO] finished tweaking git repo https://github.com/mozilla/rust-cpp-parser [INFO] tweaked toml for git repo https://github.com/mozilla/rust-cpp-parser written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mozilla/rust-cpp-parser 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.2.2 [INFO] [stderr] Downloaded hashbrown v0.7.2 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded ctor v0.1.14 [INFO] [stderr] Downloaded ahash v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d2c2e4c59d44a39693aa2973786a5b4c527ea9278bd219ef1998e9e80602268 [INFO] running `Command { std: "docker" "start" "-a" "8d2c2e4c59d44a39693aa2973786a5b4c527ea9278bd219ef1998e9e80602268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d2c2e4c59d44a39693aa2973786a5b4c527ea9278bd219ef1998e9e80602268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2c2e4c59d44a39693aa2973786a5b4c527ea9278bd219ef1998e9e80602268", kill_on_drop: false }` [INFO] [stdout] 8d2c2e4c59d44a39693aa2973786a5b4c527ea9278bd219ef1998e9e80602268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1dfdab870d7ad6a337c4f82530835f776150528138a6c649b4cc4941d71b2e3 [INFO] running `Command { std: "docker" "start" "-a" "f1dfdab870d7ad6a337c4f82530835f776150528138a6c649b4cc4941d71b2e3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ahash v0.3.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking cpp-parser v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParametersParser` [INFO] [stdout] --> src/parser/names/name.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::parser::expressions::{Parameters, ParametersParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `operator` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Identifier` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Identifier` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Name` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Name` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `Operator` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/declarations/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::r#enum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 49 | pub use self::class::*; [INFO] [stdout] | -------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use self::context::*; [INFO] [stdout] | ---------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::left_paren::*` [INFO] [stdout] --> src/parser/expressions/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use self::left_paren::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/statements/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `Label` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 29 | pub use self::goto::*; [INFO] [stdout] | ------------- but the name `Label` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:965:13 [INFO] [stdout] | [INFO] [stdout] 965 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:661:21 [INFO] [stdout] | [INFO] [stdout] 661 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:666:21 [INFO] [stdout] | [INFO] [stdout] 666 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParametersParser` [INFO] [stdout] --> src/parser/names/name.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::parser::expressions::{Parameters, ParametersParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `operator` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Identifier` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Identifier` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Name` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Name` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `Operator` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/declarations/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::r#enum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 49 | pub use self::class::*; [INFO] [stdout] | -------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use self::context::*; [INFO] [stdout] | ---------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::left_paren::*` [INFO] [stdout] --> src/parser/expressions/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use self::left_paren::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/statements/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `Label` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 29 | pub use self::goto::*; [INFO] [stdout] | ------------- but the name `Label` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:965:13 [INFO] [stdout] | [INFO] [stdout] 965 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:661:21 [INFO] [stdout] | [INFO] [stdout] 661 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:666:21 [INFO] [stdout] | [INFO] [stdout] 666 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking stats v0.0.1 (/opt/rustwide/workdir/cli_macro_stats) [INFO] [stderr] Checking ast v0.0.1 (/opt/rustwide/workdir/cli_ast) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> cli_macro_stats/src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(test, macro_use)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PreprocContext` [INFO] [stdout] --> cli_ast/src/main.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | use cpp_parser::lexer::preprocessor::context::{DefaultContext, PreprocContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JobSender` is never used [INFO] [stdout] --> cli_macro_stats/src/main.rs:218:6 [INFO] [stdout] | [INFO] [stdout] 218 | type JobSender = Sender>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PreprocContext` [INFO] [stdout] --> cli_ast/src/main.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | use cpp_parser::lexer::preprocessor::context::{DefaultContext, PreprocContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JobSender` is never used [INFO] [stdout] --> cli_macro_stats/src/main.rs:218:6 [INFO] [stdout] | [INFO] [stdout] 218 | type JobSender = Sender>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.83s [INFO] running `Command { std: "docker" "inspect" "f1dfdab870d7ad6a337c4f82530835f776150528138a6c649b4cc4941d71b2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1dfdab870d7ad6a337c4f82530835f776150528138a6c649b4cc4941d71b2e3", kill_on_drop: false }` [INFO] [stdout] f1dfdab870d7ad6a337c4f82530835f776150528138a6c649b4cc4941d71b2e3 [INFO] checking mozilla/rust-cpp-parser against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-cpp-parser" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mozilla/rust-cpp-parser on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mozilla/rust-cpp-parser [INFO] finished tweaking git repo https://github.com/mozilla/rust-cpp-parser [INFO] tweaked toml for git repo https://github.com/mozilla/rust-cpp-parser written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mozilla/rust-cpp-parser 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48f7939fe43ec7ad5a48766e5374b0dca33112fc9a6b27d98af329664ba4b015 [INFO] running `Command { std: "docker" "start" "-a" "48f7939fe43ec7ad5a48766e5374b0dca33112fc9a6b27d98af329664ba4b015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48f7939fe43ec7ad5a48766e5374b0dca33112fc9a6b27d98af329664ba4b015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f7939fe43ec7ad5a48766e5374b0dca33112fc9a6b27d98af329664ba4b015", kill_on_drop: false }` [INFO] [stdout] 48f7939fe43ec7ad5a48766e5374b0dca33112fc9a6b27d98af329664ba4b015 [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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 131b3b2fcda3331d19430778098fa3e8160f06fe043e37693584ca84c70bcadd [INFO] running `Command { std: "docker" "start" "-a" "131b3b2fcda3331d19430778098fa3e8160f06fe043e37693584ca84c70bcadd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking ahash v0.3.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking cpp-parser v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParametersParser` [INFO] [stdout] --> src/parser/names/name.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::parser::expressions::{Parameters, ParametersParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `operator` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Identifier` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Identifier` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Name` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Name` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `Operator` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/declarations/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::r#enum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 49 | pub use self::class::*; [INFO] [stdout] | -------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use self::context::*; [INFO] [stdout] | ---------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::left_paren::*` [INFO] [stdout] --> src/parser/expressions/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use self::left_paren::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/statements/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `Label` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 29 | pub use self::goto::*; [INFO] [stdout] | ------------- but the name `Label` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:965:13 [INFO] [stdout] | [INFO] [stdout] 965 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:661:21 [INFO] [stdout] | [INFO] [stdout] 661 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:666:21 [INFO] [stdout] | [INFO] [stdout] 666 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParametersParser` [INFO] [stdout] --> src/parser/names/name.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::parser::expressions::{Parameters, ParametersParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `operator` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Identifier` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Identifier` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Name` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | --------------------- but the name `Name` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::names::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `Operator` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 21 | pub use self::expressions::*; [INFO] [stdout] | -------------------- but the name `Operator` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/declarations/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::r#enum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 49 | pub use self::class::*; [INFO] [stdout] | -------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::declarations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Kind` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use self::context::*; [INFO] [stdout] | ---------------- but the name `Kind` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::left_paren::*` [INFO] [stdout] --> src/parser/expressions/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use self::left_paren::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/parser/statements/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `Label` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 29 | pub use self::goto::*; [INFO] [stdout] | ------------- but the name `Label` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:965:13 [INFO] [stdout] | [INFO] [stdout] 965 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/lexer.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:661:21 [INFO] [stdout] | [INFO] [stdout] 661 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:666:21 [INFO] [stdout] | [INFO] [stdout] 666 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/lexer/string.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/args.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_JsonCommand` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-parser` (lib) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/args.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_JsonCommand` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-parser` (lib test) due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "131b3b2fcda3331d19430778098fa3e8160f06fe043e37693584ca84c70bcadd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131b3b2fcda3331d19430778098fa3e8160f06fe043e37693584ca84c70bcadd", kill_on_drop: false }` [INFO] [stdout] 131b3b2fcda3331d19430778098fa3e8160f06fe043e37693584ca84c70bcadd