[INFO] fetching crate usbd-hid-macros 0.5.0... [INFO] testing usbd-hid-macros-0.5.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate usbd-hid-macros 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate usbd-hid-macros 0.5.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 311854dde505d6f727e3c118d4455cbca2656393a34916e33baeedb415000eec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "311854dde505d6f727e3c118d4455cbca2656393a34916e33baeedb415000eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "311854dde505d6f727e3c118d4455cbca2656393a34916e33baeedb415000eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311854dde505d6f727e3c118d4455cbca2656393a34916e33baeedb415000eec", kill_on_drop: false }` [INFO] [stdout] 311854dde505d6f727e3c118d4455cbca2656393a34916e33baeedb415000eec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b56a9178d43b1b9bed6a715c7b538beaebfeea45fc1864fbe6ebba7f38943d86 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b56a9178d43b1b9bed6a715c7b538beaebfeea45fc1864fbe6ebba7f38943d86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling quote v1.0.9 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 18.05s [INFO] running `Command { std: "docker" "inspect" "b56a9178d43b1b9bed6a715c7b538beaebfeea45fc1864fbe6ebba7f38943d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56a9178d43b1b9bed6a715c7b538beaebfeea45fc1864fbe6ebba7f38943d86", kill_on_drop: false }` [INFO] [stdout] b56a9178d43b1b9bed6a715c7b538beaebfeea45fc1864fbe6ebba7f38943d86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0376345d32211017fffe2c5373f37f64806d63ed86417a31b600643c70f3b0c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0376345d32211017fffe2c5373f37f64806d63ed86417a31b600643c70f3b0c8", 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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.75s [INFO] running `Command { std: "docker" "inspect" "0376345d32211017fffe2c5373f37f64806d63ed86417a31b600643c70f3b0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0376345d32211017fffe2c5373f37f64806d63ed86417a31b600643c70f3b0c8", kill_on_drop: false }` [INFO] [stdout] 0376345d32211017fffe2c5373f37f64806d63ed86417a31b600643c70f3b0c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fde695ffa57d54bbf799c3d281224a42953456359ad0cc02c1e9b18cc7b341e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fde695ffa57d54bbf799c3d281224a42953456359ad0cc02c1e9b18cc7b341e8", 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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/usbd_hid_macros-f86a97900a77d974) [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 154) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 83) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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 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] ---- 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 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 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] [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.58s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "fde695ffa57d54bbf799c3d281224a42953456359ad0cc02c1e9b18cc7b341e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde695ffa57d54bbf799c3d281224a42953456359ad0cc02c1e9b18cc7b341e8", kill_on_drop: false }` [INFO] [stdout] fde695ffa57d54bbf799c3d281224a42953456359ad0cc02c1e9b18cc7b341e8