[INFO] cloning repository https://github.com/divvun/xkb-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divvun/xkb-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fxkb-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fxkb-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 219e9ed33df82b0b1994675300c145d09674c2cf [INFO] checking divvun/xkb-parser/219e9ed33df82b0b1994675300c145d09674c2cf against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fxkb-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/divvun/xkb-parser [INFO] finished tweaking git repo https://github.com/divvun/xkb-parser [INFO] tweaked toml for git repo https://github.com/divvun/xkb-parser written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/divvun/xkb-parser on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/divvun/xkb-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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shrinkwraprs v0.2.1 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded block-padding v0.1.4 [INFO] [stderr] Downloaded from-pest v0.3.1 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded cc v1.0.40 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded libc v0.2.61 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded pest-ast v0.3.3 [INFO] [stderr] Downloaded ucd-trie v0.1.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded pest_generator v2.1.0 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded single v1.0.0 [INFO] [stderr] Downloaded pest_meta v2.1.1 [INFO] [stderr] Downloaded pest v2.1.1 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d042a3b62c841db98246274c6ca87757d177b0050595b6c630a11083b1fa9b99 [INFO] running `Command { std: "docker" "start" "-a" "d042a3b62c841db98246274c6ca87757d177b0050595b6c630a11083b1fa9b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d042a3b62c841db98246274c6ca87757d177b0050595b6c630a11083b1fa9b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d042a3b62c841db98246274c6ca87757d177b0050595b6c630a11083b1fa9b99", kill_on_drop: false }` [INFO] [stdout] d042a3b62c841db98246274c6ca87757d177b0050595b6c630a11083b1fa9b99 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78982ac7b08686ddc7525080e9a66d3aca12e3c9d00f2d8baca23ed39097f0ad [INFO] running `Command { std: "docker" "start" "-a" "78982ac7b08686ddc7525080e9a66d3aca12e3c9d00f2d8baca23ed39097f0ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling single v1.0.0 [INFO] [stderr] Compiling pest-ast v0.3.3 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking pest v2.1.1 [INFO] [stderr] Checking from-pest v0.3.1 [INFO] [stderr] Compiling x11-keysymdef v0.2.0 (/opt/rustwide/workdir/x11-keysymdef) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> x11-keysymdef/build.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde::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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> x11-keysymdef/build.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde::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: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> x11-keysymdef/build.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Keysyms` [INFO] [stdout] 124 | struct Keysyms { [INFO] [stdout] | ------- `Keysyms` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::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 `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> x11-keysymdef/build.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Record` [INFO] [stdout] 129 | struct Record { [INFO] [stdout] | ------ `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::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: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking xkb-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(file: &str) -> Result> { [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] 7 | pub fn parse(file: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/helpers.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn span_into_str(span: Span) -> &str { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 4 | pub(crate) fn span_into_str(span: Span<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(file: &str) -> Result> { [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] 7 | pub fn parse(file: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/helpers.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn span_into_str(span: Span) -> &str { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 4 | pub(crate) fn span_into_str(span: Span<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "78982ac7b08686ddc7525080e9a66d3aca12e3c9d00f2d8baca23ed39097f0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78982ac7b08686ddc7525080e9a66d3aca12e3c9d00f2d8baca23ed39097f0ad", kill_on_drop: false }` [INFO] [stdout] 78982ac7b08686ddc7525080e9a66d3aca12e3c9d00f2d8baca23ed39097f0ad