[INFO] fetching crate whippyunits-proc-macros 0.1.0... [INFO] testing whippyunits-proc-macros-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate whippyunits-proc-macros 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate whippyunits-proc-macros 0.1.0 [INFO] finished tweaking crates.io crate whippyunits-proc-macros 0.1.0 [INFO] tweaked toml for crates.io crate whippyunits-proc-macros 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate whippyunits-proc-macros 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate whippyunits-proc-macros 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b94776b931de7003e20d7aad8beb0605cc2f537b8e35b7f138eb60eaba42d116 [INFO] running `Command { std: "docker" "start" "-a" "b94776b931de7003e20d7aad8beb0605cc2f537b8e35b7f138eb60eaba42d116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b94776b931de7003e20d7aad8beb0605cc2f537b8e35b7f138eb60eaba42d116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94776b931de7003e20d7aad8beb0605cc2f537b8e35b7f138eb60eaba42d116", kill_on_drop: false }` [INFO] [stdout] b94776b931de7003e20d7aad8beb0605cc2f537b8e35b7f138eb60eaba42d116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2603446d9d62e6a58fb755c53d38f2ce857173caa53e6531e33f5aff03a2b36 [INFO] running `Command { std: "docker" "start" "-a" "d2603446d9d62e6a58fb755c53d38f2ce857173caa53e6531e33f5aff03a2b36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling whippyunits-core v0.1.0 [INFO] [stderr] Compiling whippyunits-proc-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: feature `trait_alias` is declared but not used [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "d2603446d9d62e6a58fb755c53d38f2ce857173caa53e6531e33f5aff03a2b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2603446d9d62e6a58fb755c53d38f2ce857173caa53e6531e33f5aff03a2b36", kill_on_drop: false }` [INFO] [stdout] d2603446d9d62e6a58fb755c53d38f2ce857173caa53e6531e33f5aff03a2b36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59e7aabf500211c7c1d4cafa5c0e96a86f8df026876150c3915cedafaa7ca5b9 [INFO] running `Command { std: "docker" "start" "-a" "59e7aabf500211c7c1d4cafa5c0e96a86f8df026876150c3915cedafaa7ca5b9", kill_on_drop: false }` [INFO] [stderr] Compiling whippyunits-proc-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: feature `trait_alias` is declared but not used [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `trait_alias` is declared but not used [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "59e7aabf500211c7c1d4cafa5c0e96a86f8df026876150c3915cedafaa7ca5b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e7aabf500211c7c1d4cafa5c0e96a86f8df026876150c3915cedafaa7ca5b9", kill_on_drop: false }` [INFO] [stdout] 59e7aabf500211c7c1d4cafa5c0e96a86f8df026876150c3915cedafaa7ca5b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5dd054cb4331dadcf548915595b1c00b5eac21791004ab4cff991ab2a62d2556 [INFO] running `Command { std: "docker" "start" "-a" "5dd054cb4331dadcf548915595b1c00b5eac21791004ab4cff991ab2a62d2556", kill_on_drop: false }` [INFO] [stderr] warning: feature `trait_alias` is declared but not used [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(trait_alias)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `whippyunits-proc-macros` (lib) generated 1 warning [INFO] [stderr] warning: `whippyunits-proc-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/whippyunits_proc_macros-6956f0610f17c086) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_parse_input ... ok [INFO] [stdout] test tests::test_expand_macro ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests whippyunits_proc_macros [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - proc_quantity (line 104) ... ignored [INFO] [stdout] test src/lib.rs - proc_unit (line 53) ... ignored [INFO] [stdout] test src/lib.rs - proc_quantity (line 129) ... FAILED [INFO] [stdout] test src/lib.rs - proc_value (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - proc_quantity (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - proc_unit (line 75) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - proc_quantity (line 129) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `whippyunits` [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use whippyunits::quantity; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - proc_value (line 195) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `whippyunits` in this scope [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | use whippyunits::default_declarators::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `whippyunits` [INFO] [stdout] --> src/lib.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | use whippyunits::value; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `whippyunits` [INFO] [stdout] --> src/lib.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | use whippyunits::quantity; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - proc_quantity (line 162) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `whippyunits` [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | use whippyunits::quantity; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - proc_unit (line 75) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `whippyunits` in this scope [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use whippyunits::api::rescale; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `whippyunits` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | use whippyunits::unit; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `whippyunits` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `whippyunits`, use `cargo add whippyunits` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `culit` in this scope [INFO] [stdout] --> src/lib.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[culit::culit(whippyunits::default_declarators::literals)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `culit` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `m` for float literal [INFO] [stdout] --> src/lib.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | let area = 5.0m * 5.0m; // ⚠️ Correct, but unchecked; will compile regardless of the units [INFO] [stdout] | ^^^^ invalid suffix `m` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `m` for float literal [INFO] [stdout] --> src/lib.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let area = 5.0m * 5.0m; // ⚠️ Correct, but unchecked; will compile regardless of the units [INFO] [stdout] | ^^^^ invalid suffix `m` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `m` for float literal [INFO] [stdout] --> src/lib.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | let area = 5.0m * 5.0s; // ❌ BUG: compiles fine, but is not an area [INFO] [stdout] | ^^^^ invalid suffix `m` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `s` for float literal [INFO] [stdout] --> src/lib.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let area = 5.0m * 5.0s; // ❌ BUG: compiles fine, but is not an area [INFO] [stdout] | ^^^^ invalid suffix `s` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `m` for float literal [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let area: unit!(m^2) = 5.0m * 5.0m; // ✅ Correct, will compile only if the units are correct [INFO] [stdout] | ^^^^ invalid suffix `m` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `m` for float literal [INFO] [stdout] --> src/lib.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | let area: unit!(m^2) = 5.0m * 5.0m; // ✅ Correct, will compile only if the units are correct [INFO] [stdout] | ^^^^ invalid suffix `m` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: invalid suffix `m` for float literal [INFO] [stdout] --> src/lib.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | let area: unit!(mm) = rescale(5.0m); [INFO] [stdout] | ^^^^ invalid suffix `m` [INFO] [stdout] | [INFO] [stdout] = help: valid suffixes are `f32` and `f64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - proc_quantity (line 129) [INFO] [stdout] src/lib.rs - proc_quantity (line 162) [INFO] [stdout] src/lib.rs - proc_unit (line 75) [INFO] [stdout] src/lib.rs - proc_value (line 195) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5dd054cb4331dadcf548915595b1c00b5eac21791004ab4cff991ab2a62d2556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd054cb4331dadcf548915595b1c00b5eac21791004ab4cff991ab2a62d2556", kill_on_drop: false }` [INFO] [stdout] 5dd054cb4331dadcf548915595b1c00b5eac21791004ab4cff991ab2a62d2556