[INFO] fetching crate checked_decimal_macro 0.1.4... [INFO] checking checked_decimal_macro-0.1.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate checked_decimal_macro 0.1.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate checked_decimal_macro 0.1.4 [INFO] finished tweaking crates.io crate checked_decimal_macro 0.1.4 [INFO] tweaked toml for crates.io crate checked_decimal_macro 0.1.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate checked_decimal_macro 0.1.4 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ac3fb4453f11d447141d30b23b8330e70cf5c6aeb51695a34d385928dc3e54d [INFO] running `Command { std: "docker" "start" "-a" "2ac3fb4453f11d447141d30b23b8330e70cf5c6aeb51695a34d385928dc3e54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ac3fb4453f11d447141d30b23b8330e70cf5c6aeb51695a34d385928dc3e54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac3fb4453f11d447141d30b23b8330e70cf5c6aeb51695a34d385928dc3e54d", kill_on_drop: false }` [INFO] [stdout] 2ac3fb4453f11d447141d30b23b8330e70cf5c6aeb51695a34d385928dc3e54d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0e1a1a608516cd5dcec8740f6ca5982497f9490689b3819cb56d00f7c95ad68 [INFO] running `Command { std: "docker" "start" "-a" "e0e1a1a608516cd5dcec8740f6ca5982497f9490689b3819cb56d00f7c95ad68", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling checked_decimal_macro_core v0.1.4 [INFO] [stderr] Checking checked_decimal_macro v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[decimal(3, u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `decimal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[decimal(1)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `decimal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[decimal(0)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `decimal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/walkthrough.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[decimal(2, u128)] // second argument is the `big type`, checkout readme to know more [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `decimal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/walkthrough.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[decimal(4)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `decimal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/walkthrough.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[decimal(4)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `decimal` (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] --> src/walkthrough.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | fn example_implement_additional_feature() { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `example_implement_additional_feature` [INFO] [stdout] 81 | // Additional features can be easily added like so: [INFO] [stdout] 82 | impl Percentage { [INFO] [stdout] | ^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | `Percentage` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `checked_decimal_macro` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e0e1a1a608516cd5dcec8740f6ca5982497f9490689b3819cb56d00f7c95ad68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0e1a1a608516cd5dcec8740f6ca5982497f9490689b3819cb56d00f7c95ad68", kill_on_drop: false }` [INFO] [stdout] e0e1a1a608516cd5dcec8740f6ca5982497f9490689b3819cb56d00f7c95ad68