[INFO] fetching crate usbd-hid-macros 0.5.0... [INFO] testing usbd-hid-macros-0.5.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate usbd-hid-macros 0.5.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate usbd-hid-macros 0.5.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate usbd-hid-macros 0.5.0 [INFO] finished tweaking crates.io crate usbd-hid-macros 0.5.0 [INFO] tweaked toml for crates.io crate usbd-hid-macros 0.5.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1490e7fb17a3c9ba0052a6291ff7587445ce588ced918dcb0684944a352aa66b [INFO] running `Command { std: "docker" "start" "-a" "1490e7fb17a3c9ba0052a6291ff7587445ce588ced918dcb0684944a352aa66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1490e7fb17a3c9ba0052a6291ff7587445ce588ced918dcb0684944a352aa66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1490e7fb17a3c9ba0052a6291ff7587445ce588ced918dcb0684944a352aa66b", kill_on_drop: false }` [INFO] [stdout] 1490e7fb17a3c9ba0052a6291ff7587445ce588ced918dcb0684944a352aa66b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f412c056018f55089d254cb261ab049bd373648091ed4ad7229836bbf1be70 [INFO] running `Command { std: "docker" "start" "-a" "22f412c056018f55089d254cb261ab049bd373648091ed4ad7229836bbf1be70", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling usbd-hid-descriptors v0.1.1 [INFO] [stderr] Compiling usbd-hid-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/item.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | panic!(format!("internal error: could not find field {} which should exist", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 147 | panic!("internal error: could not find field {} which should exist", name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "22f412c056018f55089d254cb261ab049bd373648091ed4ad7229836bbf1be70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f412c056018f55089d254cb261ab049bd373648091ed4ad7229836bbf1be70", kill_on_drop: false }` [INFO] [stdout] 22f412c056018f55089d254cb261ab049bd373648091ed4ad7229836bbf1be70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d98ffcfeb36f83dfc7822a648c23bec40032217861faf7288e55b5427f47725 [INFO] running `Command { std: "docker" "start" "-a" "9d98ffcfeb36f83dfc7822a648c23bec40032217861faf7288e55b5427f47725", kill_on_drop: false }` [INFO] [stderr] Compiling usbd-hid-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/item.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | panic!(format!("internal error: could not find field {} which should exist", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 147 | panic!("internal error: could not find field {} which should exist", name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/item.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | panic!(format!("internal error: could not find field {} which should exist", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 147 | panic!("internal error: could not find field {} which should exist", name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "9d98ffcfeb36f83dfc7822a648c23bec40032217861faf7288e55b5427f47725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d98ffcfeb36f83dfc7822a648c23bec40032217861faf7288e55b5427f47725", kill_on_drop: false }` [INFO] [stdout] 9d98ffcfeb36f83dfc7822a648c23bec40032217861faf7288e55b5427f47725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a53ca0164358e45f0183a44a649773dc46b39027a94c7b0c5ae9d856d968a52 [INFO] running `Command { std: "docker" "start" "-a" "7a53ca0164358e45f0183a44a649773dc46b39027a94c7b0c5ae9d856d968a52", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/item.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 147 | panic!(format!("internal error: could not find field {} which should exist", name)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 147 | panic!("internal error: could not find field {} which should exist", name) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/item.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 147 | panic!(format!("internal error: could not find field {} which should exist", name)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 147 | panic!("internal error: could not find field {} which should exist", name) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/usbd_hid_macros-6ba4536fbdc5efae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests usbd-hid-macros [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 52) - compile ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 83) - compile ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 104) - compile ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 65) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 143) stdout ---- [INFO] [stdout] error: expected statement after outer attribute [INFO] [stdout] --> src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[gen_hid_descriptor( [INFO] [stdout] 4 | | OR ; [INFO] [stdout] 5 | | OR ; [INFO] [stdout] 6 | | ... [INFO] [stdout] 7 | | OR [INFO] [stdout] 8 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 176) stdout ---- [INFO] [stdout] error: expected one of `(`, `::`, `=`, `[`, `]`, or `{`, found `<` [INFO] [stdout] --> src/lib.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 3 | #[packed_bits ] #[item_settings ,...] =input OR output; [INFO] [stdout] | ^ expected one of `(`, `::`, `=`, `[`, `]`, or `{` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 154) stdout ---- [INFO] [stdout] error[E0768]: no valid digits found for number [INFO] [stdout] --> src/lib.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 3 | (parameter = , ...) = { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `or` [INFO] [stdout] --> src/lib.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 3 | (parameter = , ...) = { [INFO] [stdout] | ^^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `-` [INFO] [stdout] --> src/lib.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 4 | OR ; [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/lib.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 3 | (parameter = , ...) = { [INFO] [stdout] | -------------------------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0070, E0768. [INFO] [stdout] For more information about an error, try `rustc --explain E0070`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 52) stdout ---- [INFO] [stdout] error: cannot find attribute `gen_hid_descriptor` in this scope [INFO] [stdout] --> src/lib.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[gen_hid_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 83) stdout ---- [INFO] [stdout] error: cannot find attribute `gen_hid_descriptor` in this scope [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[gen_hid_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 104) stdout ---- [INFO] [stdout] error: cannot find attribute `gen_hid_descriptor` in this scope [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[gen_hid_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_hid_descriptor (line 65) stdout ---- [INFO] [stdout] error: cannot find attribute `gen_hid_descriptor` in this scope [INFO] [stdout] --> src/lib.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[gen_hid_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 104) [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 143) [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 154) [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 176) [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 52) [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 65) [INFO] [stdout] src/lib.rs - gen_hid_descriptor (line 83) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7a53ca0164358e45f0183a44a649773dc46b39027a94c7b0c5ae9d856d968a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a53ca0164358e45f0183a44a649773dc46b39027a94c7b0c5ae9d856d968a52", kill_on_drop: false }` [INFO] [stdout] 7a53ca0164358e45f0183a44a649773dc46b39027a94c7b0c5ae9d856d968a52