[INFO] fetching crate wilton_rusty 0.3.1... [INFO] testing wilton_rusty-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wilton_rusty 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate wilton_rusty 0.3.1 [INFO] finished tweaking crates.io crate wilton_rusty 0.3.1 [INFO] tweaked toml for crates.io crate wilton_rusty 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wilton_rusty 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee19191949bf281aeda4b97c368bf0590ff71b128bbfd33d01a1239b5de4b18c [INFO] running `Command { std: "docker" "start" "-a" "ee19191949bf281aeda4b97c368bf0590ff71b128bbfd33d01a1239b5de4b18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee19191949bf281aeda4b97c368bf0590ff71b128bbfd33d01a1239b5de4b18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee19191949bf281aeda4b97c368bf0590ff71b128bbfd33d01a1239b5de4b18c", kill_on_drop: false }` [INFO] [stdout] ee19191949bf281aeda4b97c368bf0590ff71b128bbfd33d01a1239b5de4b18c [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 816e21d745f71385287ee06e6afe88b0e86ed8726b5f3ad4f8efb8ba2acb3dc6 [INFO] running `Command { std: "docker" "start" "-a" "816e21d745f71385287ee06e6afe88b0e86ed8726b5f3ad4f8efb8ba2acb3dc6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling wilton_rusty v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "816e21d745f71385287ee06e6afe88b0e86ed8726b5f3ad4f8efb8ba2acb3dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816e21d745f71385287ee06e6afe88b0e86ed8726b5f3ad4f8efb8ba2acb3dc6", kill_on_drop: false }` [INFO] [stdout] 816e21d745f71385287ee06e6afe88b0e86ed8726b5f3ad4f8efb8ba2acb3dc6 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d21a3a64337493daa54f4e4ded2bf512a57bc94bdfc2d5fc6a546a300c51691f [INFO] running `Command { std: "docker" "start" "-a" "d21a3a64337493daa54f4e4ded2bf512a57bc94bdfc2d5fc6a546a300c51691f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling wilton_rusty v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "d21a3a64337493daa54f4e4ded2bf512a57bc94bdfc2d5fc6a546a300c51691f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d21a3a64337493daa54f4e4ded2bf512a57bc94bdfc2d5fc6a546a300c51691f", kill_on_drop: false }` [INFO] [stdout] d21a3a64337493daa54f4e4ded2bf512a57bc94bdfc2d5fc6a546a300c51691f [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c95770f0b69d6019f5b7a5d7974c156c694a8a8e71f65085e8d0003fd9c6b521 [INFO] running `Command { std: "docker" "start" "-a" "c95770f0b69d6019f5b7a5d7974c156c694a8a8e71f65085e8d0003fd9c6b521", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wilton_rusty-0eec280175676979) [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 wilton_rusty [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - create_wilton_error (line 277) ... FAILED [INFO] [stdout] test src/lib.rs - register_wiltocall (line 204) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - runscript (line 315) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - create_wilton_error (line 277) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyObj1` in this scope [INFO] [stdout] --> src/lib.rs:280:59 [INFO] [stdout] | [INFO] [stdout] 6 | let res = wilton_rusty::register_wiltocall("hello", |obj: MyObj1| { hello(obj) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hello` in this scope [INFO] [stdout] --> src/lib.rs:280:69 [INFO] [stdout] | [INFO] [stdout] 6 | let res = wilton_rusty::register_wiltocall("hello", |obj: MyObj1| { hello(obj) }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `*mut i8` [INFO] [stdout] --> src/lib.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 16 | wilton_rusty::create_wilton_error(None) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here to finish the statement: `;` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 17 | | () [INFO] [stdout] | |__- call expression requires function [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0618. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - register_wiltocall (line 204) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn hello(obj: MyIn) -> MyOut { } [INFO] [stdout] | ----- ^^^^^ expected `MyOut`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyIn: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 19 | wilton_rusty::register_wiltocall("hello", |obj: MyIn| { hello(obj) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `MyIn` [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyIn { } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] = note: required for `MyIn` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `register_wiltocall` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn register_wiltocall O>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `register_wiltocall` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyOut: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 19 | wilton_rusty::register_wiltocall("hello", |obj: MyIn| { hello(obj) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `MyOut` [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct MyOut { } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `MyOut` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `register_wiltocall` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:225:62 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn register_wiltocall O>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `register_wiltocall` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 21 | fn hello(obj: MyIn) -> MyOut { } [INFO] [stdout] | ----- ^^^^^ expected `MyOut`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyIn: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 28 | wilton_rusty::register_wiltocall("hello", |obj: MyIn| { hello(obj) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `MyIn` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct MyIn { } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] = note: required for `MyIn` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `register_wiltocall` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn register_wiltocall O>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `register_wiltocall` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyOut: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 28 | wilton_rusty::register_wiltocall("hello", |obj: MyIn| { hello(obj) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `MyOut` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyOut { } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `MyOut` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `register_wiltocall` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:225:62 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn register_wiltocall O>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `register_wiltocall` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - runscript (line 315) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 6 | let call_desc = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 13 | / match wilton_rusty::runscript(&call_desc) { [INFO] [stdout] 14 | | Ok(res) => res, [INFO] [stdout] 15 | | Err(e) => panic!(e) [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^- help: consider using a semicolon here [INFO] [stdout] | |_| [INFO] [stdout] | expected `()`, found `String` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - create_wilton_error (line 277) [INFO] [stdout] src/lib.rs - register_wiltocall (line 204) [INFO] [stdout] src/lib.rs - runscript (line 315) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c95770f0b69d6019f5b7a5d7974c156c694a8a8e71f65085e8d0003fd9c6b521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95770f0b69d6019f5b7a5d7974c156c694a8a8e71f65085e8d0003fd9c6b521", kill_on_drop: false }` [INFO] [stdout] c95770f0b69d6019f5b7a5d7974c156c694a8a8e71f65085e8d0003fd9c6b521