[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#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmozilla%2Frust-cpp-parser" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mozilla/rust-cpp-parser on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "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 rand_core v0.3.1
[INFO] [stderr] Downloaded rand_core v0.4.2
[INFO] [stderr] Downloaded tempdir v0.3.7
[INFO] [stderr] Downloaded remove_dir_all v0.5.2
[INFO] [stderr] Downloaded rdrand v0.4.0
[INFO] [stderr] Downloaded autocfg v1.0.0
[INFO] [stderr] Downloaded itoa v0.4.5
[INFO] [stderr] Downloaded ctor v0.1.14
[INFO] [stderr] Downloaded maybe-uninit v2.0.0
[INFO] [stderr] Downloaded num_cpus v1.13.0
[INFO] [stderr] Downloaded unicode-xid v0.2.0
[INFO] [stderr] Downloaded hermit-abi v0.1.13
[INFO] [stderr] Downloaded output_vt100 v0.1.2
[INFO] [stderr] Downloaded fuchsia-cprng v0.1.1
[INFO] [stderr] Downloaded termcolor v1.1.0
[INFO] [stderr] Downloaded crossbeam-queue v0.2.2
[INFO] [stderr] Downloaded crossbeam v0.7.3
[INFO] [stderr] Downloaded log v0.4.8
[INFO] [stderr] Downloaded globset v0.4.5
[INFO] [stderr] Downloaded rand v0.4.6
[INFO] [stderr] Downloaded crossbeam-deque v0.7.3
[INFO] [stderr] Downloaded memoffset v0.5.4
[INFO] [stderr] Downloaded bitflags v1.2.1
[INFO] [stderr] Downloaded quote v1.0.6
[INFO] [stderr] Downloaded memchr v2.3.3
[INFO] [stderr] Downloaded ahash v0.3.5
[INFO] [stderr] Downloaded unicode-width v0.1.7
[INFO] [stderr] Downloaded crossbeam-epoch v0.8.2
[INFO] [stderr] Downloaded pretty_assertions v0.6.1
[INFO] [stderr] Downloaded proc-macro2 v1.0.18
[INFO] [stderr] Downloaded serde_derive v1.0.111
[INFO] [stderr] Downloaded serde v1.0.111
[INFO] [stderr] Downloaded crossbeam-channel v0.4.2
[INFO] [stderr] Downloaded serde_json v1.0.53
[INFO] [stderr] Downloaded aho-corasick v0.7.10
[INFO] [stderr] Downloaded difference v2.0.0
[INFO] [stderr] Downloaded clap v2.33.1
[INFO] [stderr] Downloaded syn v1.0.30
[INFO] [stderr] Downloaded bstr v0.2.13
[INFO] [stderr] Downloaded libc v0.2.71
[INFO] [stderr] Downloaded winapi v0.3.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97db29e0a66ab23153362bc898377c53ce382661c607c160fe07a3fb5c6a0835
[INFO] running `Command { std: "docker" "start" "-a" "97db29e0a66ab23153362bc898377c53ce382661c607c160fe07a3fb5c6a0835", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97db29e0a66ab23153362bc898377c53ce382661c607c160fe07a3fb5c6a0835", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97db29e0a66ab23153362bc898377c53ce382661c607c160fe07a3fb5c6a0835", kill_on_drop: false }`
[INFO] [stdout] 97db29e0a66ab23153362bc898377c53ce382661c607c160fe07a3fb5c6a0835
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45add32fa09f9fe240474df92546e6450b367c25dde8725a55bebb9e033270d5
[INFO] running `Command { std: "docker" "start" "-a" "45add32fa09f9fe240474df92546e6450b367c25dde8725a55bebb9e033270d5", 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 unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.30
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling serde v1.0.111
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling memchr v2.3.3
[INFO] [stderr] Compiling crossbeam-utils v0.7.2
[INFO] [stderr] Compiling hashbrown v0.7.2
[INFO] [stderr] Compiling memoffset v0.5.4
[INFO] [stderr] Checking ahash v0.3.5
[INFO] [stderr] Checking itoa v0.4.5
[INFO] [stderr] Compiling crossbeam-epoch v0.8.2
[INFO] [stderr] Checking unicode-width v0.1.7
[INFO] [stderr] Checking termcolor v1.1.0
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking aho-corasick v0.7.10
[INFO] [stderr] Checking clap v2.33.1
[INFO] [stderr] Checking thread_local v1.0.1
[INFO] [stderr] Checking regex-syntax v0.6.18
[INFO] [stderr] Checking bstr v0.2.13
[INFO] [stderr] Checking crossbeam-queue v0.2.2
[INFO] [stderr] Compiling quote v1.0.6
[INFO] [stderr] Checking crossbeam-channel v0.4.2
[INFO] [stderr] Checking rand v0.4.6
[INFO] [stderr] Checking crossbeam-deque v0.7.3
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking remove_dir_all v0.5.2
[INFO] [stderr] Checking difference v2.0.0
[INFO] [stderr] Checking pretty_assertions v0.6.1
[INFO] [stderr] Checking crossbeam v0.7.3
[INFO] [stderr] Checking tempdir v0.3.7
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::dump_str`
[INFO] [stdout] --> src/parser/dump.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use crate::dump_str;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[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]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:900:13
[INFO] [stdout] |
[INFO] [stdout] 900 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:902:13
[INFO] [stdout] |
[INFO] [stdout] 902 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:944:13
[INFO] [stdout] |
[INFO] [stdout] 944 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:963:13
[INFO] [stdout] |
[INFO] [stdout] 963 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:965:13
[INFO] [stdout] |
[INFO] [stdout] 965 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:1013:13
[INFO] [stdout] |
[INFO] [stdout] 1013 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:1015:13
[INFO] [stdout] |
[INFO] [stdout] 1015 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:661:21
[INFO] [stdout] |
[INFO] [stdout] 661 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:666:21
[INFO] [stdout] |
[INFO] [stdout] 666 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:681:21
[INFO] [stdout] |
[INFO] [stdout] 681 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/string.rs:33:13
[INFO] [stdout] |
[INFO] [stdout] 33 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/string.rs:37:13
[INFO] [stdout] |
[INFO] [stdout] 37 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::dump_str`
[INFO] [stdout] --> src/parser/dump.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use crate::dump_str;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[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]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:900:13
[INFO] [stdout] |
[INFO] [stdout] 900 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:902:13
[INFO] [stdout] |
[INFO] [stdout] 902 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:944:13
[INFO] [stdout] |
[INFO] [stdout] 944 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:963:13
[INFO] [stdout] |
[INFO] [stdout] 963 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:965:13
[INFO] [stdout] |
[INFO] [stdout] 965 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:1013:13
[INFO] [stdout] |
[INFO] [stdout] 1013 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/lexer.rs:1015:13
[INFO] [stdout] |
[INFO] [stdout] 1015 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:661:21
[INFO] [stdout] |
[INFO] [stdout] 661 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:666:21
[INFO] [stdout] |
[INFO] [stdout] 666 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/preprocessor/preprocessor.rs:681:21
[INFO] [stdout] |
[INFO] [stdout] 681 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/string.rs:33:13
[INFO] [stdout] |
[INFO] [stdout] 33 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: `#[cold]` attribute cannot be used on match arms
[INFO] [stdout] --> src/lexer/string.rs:37:13
[INFO] [stdout] |
[INFO] [stdout] 37 | #[cold]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = help: `#[cold]` can only be applied to functions
[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] --> src/args.rs:350:17
[INFO] [stdout] |
[INFO] [stdout] 350 | #[derive(Debug, Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_JsonCommand`
[INFO] [stdout] 351 | struct JsonCommand {
[INFO] [stdout] | ----------- `JsonCommand` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> src/lexer/preprocessor/context.rs:60:17
[INFO] [stdout] |
[INFO] [stdout] 60 | fn get_type(&self, name: &str) -> MacroType;
[INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided 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] 60 | fn get_type(&self, name: &str) -> MacroType<'_>;
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lexer/preprocessor/context.rs:101:17
[INFO] [stdout] |
[INFO] [stdout] 101 | fn get_type(&self, _name: &str) -> MacroType {
[INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 101 | fn get_type(&self, _name: &str) -> MacroType<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/lexer/preprocessor/context.rs:249:17
[INFO] [stdout] |
[INFO] [stdout] 249 | fn get_type(&self, name: &str) -> MacroType {
[INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 249 | fn get_type(&self, name: &str) -> MacroType<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parser/declarations/types.rs:105:29
[INFO] [stdout] |
[INFO] [stdout] 105 | pub(crate) fn get_names(&self) -> TypeDeclNames {
[INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 105 | pub(crate) fn get_names(&self) -> TypeDeclNames<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking ast v0.0.1 (/opt/rustwide/workdir/cli_ast)
[INFO] [stderr] Checking stats v0.0.1 (/opt/rustwide/workdir/cli_macro_stats)
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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