[INFO] fetching crate ts-macro 1.0.2... [INFO] testing ts-macro-1.0.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ts-macro 1.0.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ts-macro 1.0.2 [INFO] finished tweaking crates.io crate ts-macro 1.0.2 [INFO] tweaked toml for crates.io crate ts-macro 1.0.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-macro 1.0.2 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 ts-macro 1.0.2 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2bdd7334a193fcabd01b114a5c71a18ecf0da3a0187e55b59d73ce83c0d4a28d [INFO] running `Command { std: "docker" "start" "-a" "2bdd7334a193fcabd01b114a5c71a18ecf0da3a0187e55b59d73ce83c0d4a28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bdd7334a193fcabd01b114a5c71a18ecf0da3a0187e55b59d73ce83c0d4a28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdd7334a193fcabd01b114a5c71a18ecf0da3a0187e55b59d73ce83c0d4a28d", kill_on_drop: false }` [INFO] [stdout] 2bdd7334a193fcabd01b114a5c71a18ecf0da3a0187e55b59d73ce83c0d4a28d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8321fb83e7ce93f3d6530f2232f3d5052e722bbb2a050008a29d7d586ffe9cd8 [INFO] running `Command { std: "docker" "start" "-a" "8321fb83e7ce93f3d6530f2232f3d5052e722bbb2a050008a29d7d586ffe9cd8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ts-type v1.0.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling ts-macro v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.63s [INFO] running `Command { std: "docker" "inspect" "8321fb83e7ce93f3d6530f2232f3d5052e722bbb2a050008a29d7d586ffe9cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8321fb83e7ce93f3d6530f2232f3d5052e722bbb2a050008a29d7d586ffe9cd8", kill_on_drop: false }` [INFO] [stdout] 8321fb83e7ce93f3d6530f2232f3d5052e722bbb2a050008a29d7d586ffe9cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9dc968e94cb2979ef351e2f024e7ffc212ef97867ac7e3d5ba8991759b759f2a [INFO] running `Command { std: "docker" "start" "-a" "9dc968e94cb2979ef351e2f024e7ffc212ef97867ac7e3d5ba8991759b759f2a", kill_on_drop: false }` [INFO] [stderr] Compiling ts-macro v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "9dc968e94cb2979ef351e2f024e7ffc212ef97867ac7e3d5ba8991759b759f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc968e94cb2979ef351e2f024e7ffc212ef97867ac7e3d5ba8991759b759f2a", kill_on_drop: false }` [INFO] [stdout] 9dc968e94cb2979ef351e2f024e7ffc212ef97867ac7e3d5ba8991759b759f2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e34bef97794ff2c48a0842cbd5f7f69750d32c7c7562539b212b565a281e2ae5 [INFO] running `Command { std: "docker" "start" "-a" "e34bef97794ff2c48a0842cbd5f7f69750d32c7c7562539b212b565a281e2ae5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ts_macro-a928e80e0bd4b8ab) [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 172) ... FAILED [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] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 143 - pub fn handle_token(token: JsShareToken) { [INFO] [stdout] 143 + pub fn handle_token(token: ShareToken) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [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[E0425]: 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[E0425]: 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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 80 - pub fn handle_token(token: IToken) { [INFO] [stdout] 80 + pub fn handle_token(token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [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[E0425]: 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[E0425]: 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 E0425`. [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.20s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e34bef97794ff2c48a0842cbd5f7f69750d32c7c7562539b212b565a281e2ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34bef97794ff2c48a0842cbd5f7f69750d32c7c7562539b212b565a281e2ae5", kill_on_drop: false }` [INFO] [stdout] e34bef97794ff2c48a0842cbd5f7f69750d32c7c7562539b212b565a281e2ae5