[INFO] fetching crate ts-macro 1.0.1... [INFO] testing ts-macro-1.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate ts-macro 1.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ts-macro 1.0.1 [INFO] finished tweaking crates.io crate ts-macro 1.0.1 [INFO] tweaked toml for crates.io crate ts-macro 1.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-macro 1.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts-type v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96cdffec84bb331d476a2aab733a52e6605b84c834827e469272cb1b3f499ba9 [INFO] running `Command { std: "docker" "start" "-a" "96cdffec84bb331d476a2aab733a52e6605b84c834827e469272cb1b3f499ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96cdffec84bb331d476a2aab733a52e6605b84c834827e469272cb1b3f499ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96cdffec84bb331d476a2aab733a52e6605b84c834827e469272cb1b3f499ba9", kill_on_drop: false }` [INFO] [stdout] 96cdffec84bb331d476a2aab733a52e6605b84c834827e469272cb1b3f499ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85a7908241dd3f23adc7feb7075dcb91eb3833fdaa3dac535ff3ed57bb6d385a [INFO] running `Command { std: "docker" "start" "-a" "85a7908241dd3f23adc7feb7075dcb91eb3833fdaa3dac535ff3ed57bb6d385a", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.105 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ts-type v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling ts-macro v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.31s [INFO] running `Command { std: "docker" "inspect" "85a7908241dd3f23adc7feb7075dcb91eb3833fdaa3dac535ff3ed57bb6d385a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a7908241dd3f23adc7feb7075dcb91eb3833fdaa3dac535ff3ed57bb6d385a", kill_on_drop: false }` [INFO] [stdout] 85a7908241dd3f23adc7feb7075dcb91eb3833fdaa3dac535ff3ed57bb6d385a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3031dcc44b175468841e35a8f95022b52853d079d7118313110a03ac7cd4105 [INFO] running `Command { std: "docker" "start" "-a" "b3031dcc44b175468841e35a8f95022b52853d079d7118313110a03ac7cd4105", kill_on_drop: false }` [INFO] [stderr] Compiling ts-macro v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "b3031dcc44b175468841e35a8f95022b52853d079d7118313110a03ac7cd4105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3031dcc44b175468841e35a8f95022b52853d079d7118313110a03ac7cd4105", kill_on_drop: false }` [INFO] [stdout] b3031dcc44b175468841e35a8f95022b52853d079d7118313110a03ac7cd4105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a409318a510265308023e56b08e97f6ecc8c0766a0911924059b4aae74b16b3 [INFO] running `Command { std: "docker" "start" "-a" "9a409318a510265308023e56b08e97f6ecc8c0766a0911924059b4aae74b16b3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ts_macro-76c71d6a8c3db166) [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 ts_macro [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - ts (line 129) ... FAILED [INFO] [stdout] test src/lib.rs - ts (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - ts (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - ts (line 172) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ts (line 129) stdout ---- [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 129 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | #[ts(name = JsShareToken, extends = JsToken)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 129 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[ts(name = JsToken)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 129 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Number` in this scope [INFO] [stdout] --> src/lib.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | decimals: Number, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope [INFO] [stdout] --> src/lib.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | total_supply: BigInt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope [INFO] [stdout] --> src/lib.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | price: BigInt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsShareToken` in this scope [INFO] [stdout] --> src/lib.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 138 | struct ShareToken { [INFO] [stdout] | ----------------- similarly named struct `ShareToken` defined here [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn handle_token(token: JsShareToken) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ShareToken` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ts (line 70) stdout ---- [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 70 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[ts] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 70 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope [INFO] [stdout] --> src/lib.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | total_supply: BigInt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IToken` in this scope [INFO] [stdout] --> src/lib.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 72 | struct Token { [INFO] [stdout] | ------------ similarly named struct `Token` defined here [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn handle_token(token: IToken) { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Token` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ts (line 112) stdout ---- [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | #[ts] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 112 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope [INFO] [stdout] --> src/lib.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | amount: BigInt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IToken` in this scope [INFO] [stdout] --> src/lib.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | token: IToken, // Binding to the `Token` struct [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ts (line 172) stdout ---- [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[ts] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 172 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[ts(name = "specialCASING")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 172 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 178 | #[ts(type = "`0x${string}`")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 172 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | #[ts(optional = false)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 172 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> src/lib.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | #[ts(optional = true)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 172 + use ts_macro::ts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ts (line 112) [INFO] [stdout] src/lib.rs - ts (line 129) [INFO] [stdout] src/lib.rs - ts (line 172) [INFO] [stdout] src/lib.rs - ts (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9a409318a510265308023e56b08e97f6ecc8c0766a0911924059b4aae74b16b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a409318a510265308023e56b08e97f6ecc8c0766a0911924059b4aae74b16b3", kill_on_drop: false }` [INFO] [stdout] 9a409318a510265308023e56b08e97f6ecc8c0766a0911924059b4aae74b16b3