[INFO] fetching crate usbd-hid-macros 0.5.0... [INFO] testing usbd-hid-macros-0.5.0 against beta-2021-09-08 for beta-1.56-1 [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 beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdc85afbf6217e6f91d44d3c90cc298a9d8942552c3ac29d031f53a6e631cf6b [INFO] running `Command { std: "docker" "start" "-a" "bdc85afbf6217e6f91d44d3c90cc298a9d8942552c3ac29d031f53a6e631cf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdc85afbf6217e6f91d44d3c90cc298a9d8942552c3ac29d031f53a6e631cf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc85afbf6217e6f91d44d3c90cc298a9d8942552c3ac29d031f53a6e631cf6b", kill_on_drop: false }` [INFO] [stdout] bdc85afbf6217e6f91d44d3c90cc298a9d8942552c3ac29d031f53a6e631cf6b [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997fe26021e2d0f801b1830aa861b037d2e564908a5e4931b70fe4a168c78468 [INFO] running `Command { std: "docker" "start" "-a" "997fe26021e2d0f801b1830aa861b037d2e564908a5e4931b70fe4a168c78468", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling usbd-hid-descriptors v0.1.1 [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_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!(format!("internal error: could not find field {} which should exist", name)) [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 10.97s [INFO] running `Command { std: "docker" "inspect" "997fe26021e2d0f801b1830aa861b037d2e564908a5e4931b70fe4a168c78468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997fe26021e2d0f801b1830aa861b037d2e564908a5e4931b70fe4a168c78468", kill_on_drop: false }` [INFO] [stdout] 997fe26021e2d0f801b1830aa861b037d2e564908a5e4931b70fe4a168c78468 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eac8dc49f78f94b0e932f7964a3541cb15cc3ed4eef2031880187eed2a2757aa [INFO] running `Command { std: "docker" "start" "-a" "eac8dc49f78f94b0e932f7964a3541cb15cc3ed4eef2031880187eed2a2757aa", 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!(format!("internal error: could not find field {} which should exist", name)) [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!(format!("internal error: could not find field {} which should exist", name)) [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" "eac8dc49f78f94b0e932f7964a3541cb15cc3ed4eef2031880187eed2a2757aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac8dc49f78f94b0e932f7964a3541cb15cc3ed4eef2031880187eed2a2757aa", kill_on_drop: false }` [INFO] [stdout] eac8dc49f78f94b0e932f7964a3541cb15cc3ed4eef2031880187eed2a2757aa [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfd75abf00d51e3c1ab90a0b143b4ce6b9c169cfa106630896331b899a0ac150 [INFO] running `Command { std: "docker" "start" "-a" "bfd75abf00d51e3c1ab90a0b143b4ce6b9c169cfa106630896331b899a0ac150", 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!(format!("internal error: could not find field {} which should exist", name)) [INFO] [stderr] 147 + panic!("internal error: could not find field {} which should exist", name) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `usbd-hid-macros` (lib) generated 1 warning [INFO] [stderr] warning: `usbd-hid-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/usbd_hid_macros-635cf688ef5c36bd) [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 143) ... FAILED [INFO] [stdout] test src/lib.rs - gen_hid_descriptor (line 52) - 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 83) - 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 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 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 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] = note: consider importing this attribute macro: [INFO] [stdout] usbd_hid_macros::gen_hid_descriptor [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] = note: consider importing this attribute macro: [INFO] [stdout] usbd_hid_macros::gen_hid_descriptor [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] = note: consider importing this attribute macro: [INFO] [stdout] usbd_hid_macros::gen_hid_descriptor [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] = note: consider importing this attribute macro: [INFO] [stdout] usbd_hid_macros::gen_hid_descriptor [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.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "bfd75abf00d51e3c1ab90a0b143b4ce6b9c169cfa106630896331b899a0ac150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd75abf00d51e3c1ab90a0b143b4ce6b9c169cfa106630896331b899a0ac150", kill_on_drop: false }` [INFO] [stdout] bfd75abf00d51e3c1ab90a0b143b4ce6b9c169cfa106630896331b899a0ac150