[INFO] fetching crate sertyp 0.1.3... [INFO] testing sertyp-0.1.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate sertyp 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sertyp 0.1.3 [INFO] finished tweaking crates.io crate sertyp 0.1.3 [INFO] tweaked toml for crates.io crate sertyp 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sertyp 0.1.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sertyp 0.1.3 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sertyp_macros v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4776dee39381fd18563fae5f165101b252e53719a907a02ac5668835e97230b5 [INFO] running `Command { std: "docker" "start" "-a" "4776dee39381fd18563fae5f165101b252e53719a907a02ac5668835e97230b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4776dee39381fd18563fae5f165101b252e53719a907a02ac5668835e97230b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4776dee39381fd18563fae5f165101b252e53719a907a02ac5668835e97230b5", kill_on_drop: false }` [INFO] [stdout] 4776dee39381fd18563fae5f165101b252e53719a907a02ac5668835e97230b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30d86f60ef45932ca802353da61128383f8f0895f1ae27cde41a6129928682c3 [INFO] running `Command { std: "docker" "start" "-a" "30d86f60ef45932ca802353da61128383f8f0895f1ae27cde41a6129928682c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling sertyp_macros v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling sertyp v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.90s [INFO] running `Command { std: "docker" "inspect" "30d86f60ef45932ca802353da61128383f8f0895f1ae27cde41a6129928682c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d86f60ef45932ca802353da61128383f8f0895f1ae27cde41a6129928682c3", kill_on_drop: false }` [INFO] [stdout] 30d86f60ef45932ca802353da61128383f8f0895f1ae27cde41a6129928682c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 276f134423365b11348bea51da63b59eafdecaa618434050c82c0c57702df6d5 [INFO] running `Command { std: "docker" "start" "-a" "276f134423365b11348bea51da63b59eafdecaa618434050c82c0c57702df6d5", kill_on_drop: false }` [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling sertyp v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "276f134423365b11348bea51da63b59eafdecaa618434050c82c0c57702df6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "276f134423365b11348bea51da63b59eafdecaa618434050c82c0c57702df6d5", kill_on_drop: false }` [INFO] [stdout] 276f134423365b11348bea51da63b59eafdecaa618434050c82c0c57702df6d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5598c4db480792759fc492a58212af65a8b5a30d6b04c1e32b1c32ef04373c24 [INFO] running `Command { std: "docker" "start" "-a" "5598c4db480792759fc492a58212af65a8b5a30d6b04c1e32b1c32ef04373c24", 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/sertyp-5b1b845ed10db9fa) [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 sertyp [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/types/generic/mod.rs - types::generic::auto_impl (line 66) ... FAILED [INFO] [stdout] test src/types/generic/mod.rs - types::generic::auto_impl (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - types (line 27) ... FAILED [INFO] [stdout] test src/types/generic/mod.rs - types::generic::auto_impl (line 54) ... FAILED [INFO] [stdout] test src/types/generic/mod.rs - types::generic::auto_impl_str (line 163) ... FAILED [INFO] [stdout] test src/lib.rs - serialize_cbor (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - deserialize_cbor (line 75) ... FAILED [INFO] [stdout] test src/types/generic/mod.rs - types::generic::auto_impl_func (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - error (line 135) ... ok [INFO] [stdout] test src/types/generic/or.rs - types::generic::or::Or (line 9) ... ok [INFO] [stdout] test src/types/generic/typed_array.rs - types::generic::typed_array::TypedArray (line 8) ... FAILED [INFO] [stdout] test src/types/generic/result.rs - types::generic::result::Result (line 5) ... ok [INFO] [stdout] test src/types/mod.rs - types::define_enum (line 135) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/types/generic/mod.rs - types::generic::auto_impl (line 66) stdout ---- [INFO] [stdout] error[E0433]: cannot find `auto_impl` in `crate` [INFO] [stdout] --> src/types/generic/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | crate::auto_impl! { [INFO] [stdout] | ^^^^^^^^^ could not find `auto_impl` in the crate root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/generic/mod.rs - types::generic::auto_impl (line 41) stdout ---- [INFO] [stdout] error: expected identifier, found `$` [INFO] [stdout] --> src/types/generic/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | try_from { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] 43 | $variant ( $type ), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/types/generic/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | try_from { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] 43 | $variant ( $type ), [INFO] [stdout] 44 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `try_from` in this scope [INFO] [stdout] --> src/types/generic/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | try_from { [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 E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - types (line 27) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasm_minimal_protocol` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use wasm_minimal_protocol::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_minimal_protocol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasm_minimal_protocol`, use `cargo add wasm_minimal_protocol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_func` in this scope [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[typst_func] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `typst_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/generic/mod.rs - types::generic::auto_impl (line 54) stdout ---- [INFO] [stdout] error: expected item, found `$` [INFO] [stdout] --> src/types/generic/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | $variant ($item_variant => $type) [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/generic/mod.rs - types::generic::auto_impl_str (line 163) stdout ---- [INFO] [stdout] error[E0433]: cannot find `auto_impl_str` in `crate` [INFO] [stdout] --> src/types/generic/mod.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | crate::auto_impl_str! { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `auto_impl_str` in the crate root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - serialize_cbor (line 108) stdout ---- [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/lib.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | Err(e) => error!("{e}"), [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> src/lib.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | ($ty:tt, $($arg:tt)*) => {{ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - deserialize_cbor (line 75) stdout ---- [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/lib.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => error!("{e}"), [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> src/lib.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | ($ty:tt, $($arg:tt)*) => {{ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/generic/mod.rs - types::generic::auto_impl_func (line 242) stdout ---- [INFO] [stdout] error[E0433]: cannot find `auto_impl_func` in `crate` [INFO] [stdout] --> src/types/generic/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | crate::auto_impl_func! { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `auto_impl_func` in the crate root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/generic/typed_array.rs - types::generic::typed_array::TypedArray (line 8) stdout ---- [INFO] [stdout] error[E0277]: `sertyp::types::integer::IntegerError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types/generic/typed_array.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | .map_err(|e| format!("Failed to convert Integer to i32: {e}").into()) [INFO] [stdout] | ^^^ `sertyp::types::integer::IntegerError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `sertyp::types::integer::IntegerError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/mod.rs - types::define_enum (line 135) stdout ---- [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/types/mod.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl_try_from!(u8); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match `::` [INFO] [stdout] --> src/types/mod.rs:402:35 [INFO] [stdout] | [INFO] [stdout] 402 | ($fty:ident$(<$flt:lifetime>)?::$variant:ident, $ty:ty) => { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - deserialize_cbor (line 75) [INFO] [stdout] src/lib.rs - serialize_cbor (line 108) [INFO] [stdout] src/lib.rs - types (line 27) [INFO] [stdout] src/types/generic/mod.rs - types::generic::auto_impl (line 41) [INFO] [stdout] src/types/generic/mod.rs - types::generic::auto_impl (line 54) [INFO] [stdout] src/types/generic/mod.rs - types::generic::auto_impl (line 66) [INFO] [stdout] src/types/generic/mod.rs - types::generic::auto_impl_func (line 242) [INFO] [stdout] src/types/generic/mod.rs - types::generic::auto_impl_str (line 163) [INFO] [stdout] src/types/generic/typed_array.rs - types::generic::typed_array::TypedArray (line 8) [INFO] [stdout] src/types/mod.rs - types::define_enum (line 135) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.75s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5598c4db480792759fc492a58212af65a8b5a30d6b04c1e32b1c32ef04373c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5598c4db480792759fc492a58212af65a8b5a30d6b04c1e32b1c32ef04373c24", kill_on_drop: false }` [INFO] [stdout] 5598c4db480792759fc492a58212af65a8b5a30d6b04c1e32b1c32ef04373c24