[INFO] fetching crate wilton_rust 0.2.0... [INFO] testing wilton_rust-0.2.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate wilton_rust 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate wilton_rust 0.2.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wilton_rust 0.2.0 [INFO] finished tweaking crates.io crate wilton_rust 0.2.0 [INFO] tweaked toml for crates.io crate wilton_rust 0.2.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6090b7976a4173bb09335204288aa8bbd9fdac34cbb8bee1e1c78d088bbe238 [INFO] running `Command { std: "docker" "start" "-a" "f6090b7976a4173bb09335204288aa8bbd9fdac34cbb8bee1e1c78d088bbe238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6090b7976a4173bb09335204288aa8bbd9fdac34cbb8bee1e1c78d088bbe238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6090b7976a4173bb09335204288aa8bbd9fdac34cbb8bee1e1c78d088bbe238", kill_on_drop: false }` [INFO] [stdout] f6090b7976a4173bb09335204288aa8bbd9fdac34cbb8bee1e1c78d088bbe238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a1fe4fc6f04b004f4ccd4315798ef4bd3dff3b859f1b80f723fb5fa9b76a5d [INFO] running `Command { std: "docker" "start" "-a" "e9a1fe4fc6f04b004f4ccd4315798ef4bd3dff3b859f1b80f723fb5fa9b76a5d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling wilton_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | type WiltonCallback = Box Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any + std::marker::Send + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "e9a1fe4fc6f04b004f4ccd4315798ef4bd3dff3b859f1b80f723fb5fa9b76a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a1fe4fc6f04b004f4ccd4315798ef4bd3dff3b859f1b80f723fb5fa9b76a5d", kill_on_drop: false }` [INFO] [stdout] e9a1fe4fc6f04b004f4ccd4315798ef4bd3dff3b859f1b80f723fb5fa9b76a5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef0570d5f474d36e9d8bafd0d4bddb88e608ece23be5b6c54733c68c032bb14 [INFO] running `Command { std: "docker" "start" "-a" "7ef0570d5f474d36e9d8bafd0d4bddb88e608ece23be5b6c54733c68c032bb14", kill_on_drop: false }` [INFO] [stderr] Compiling wilton_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | type WiltonCallback = Box Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any + std::marker::Send + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | type WiltonCallback = Box Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any + std::marker::Send + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "7ef0570d5f474d36e9d8bafd0d4bddb88e608ece23be5b6c54733c68c032bb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef0570d5f474d36e9d8bafd0d4bddb88e608ece23be5b6c54733c68c032bb14", kill_on_drop: false }` [INFO] [stdout] 7ef0570d5f474d36e9d8bafd0d4bddb88e608ece23be5b6c54733c68c032bb14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e57cf700d71cd9c137ca4cadca0234b5651ad7b89546505fa69d3b09f8d51e8e [INFO] running `Command { std: "docker" "start" "-a" "e57cf700d71cd9c137ca4cadca0234b5651ad7b89546505fa69d3b09f8d51e8e", kill_on_drop: false }` [INFO] [stderr] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stderr] --> src/lib.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | #[allow(private_no_mangle_fns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:102:27 [INFO] [stderr] | [INFO] [stderr] 102 | type WiltonCallback = Box Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:135:40 [INFO] [stderr] | [INFO] [stderr] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any + std::marker::Send + 'static` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:169:36 [INFO] [stderr] | [INFO] [stderr] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> Result` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:239:58 [INFO] [stderr] | [INFO] [stderr] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:242:46 [INFO] [stderr] | [INFO] [stderr] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:334:42 [INFO] [stderr] | [INFO] [stderr] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:355:58 [INFO] [stderr] | [INFO] [stderr] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wilton_rust` (lib) generated 8 warnings [INFO] [stderr] warning: `wilton_rust` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wilton_rust-47fb0b2fbae50e16) [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_rust [INFO] [stderr] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | #[allow(private_no_mangle_fns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - register_wiltocall (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - runscript (line 315) ... FAILED [INFO] [stdout] test src/lib.rs - create_wilton_error (line 279) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `crate` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 5 | [lib] [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 6 | crate-type = ["dylib"] [INFO] [stdout] | ^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - register_wiltocall (line 206) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyIn { ... } [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyOut { ... } [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 9 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 9 | ... [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected one of `;` or `}`, found keyword `fn` [INFO] [stdout] --> src/lib.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 9 | ... [INFO] [stdout] | - expected one of `;` or `}` [INFO] [stdout] 10 | // write a function that does some work [INFO] [stdout] 11 | fn hello(obj: MyIn) -> MyOut { ... } [INFO] [stdout] | ^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize)] [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 E0586`. [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:317:17 [INFO] [stdout] | [INFO] [stdout] 5 | let call_desc = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/lib.rs:326:15 [INFO] [stdout] | [INFO] [stdout] 12 | / match wilton_rust::runscript(&call_desc) { [INFO] [stdout] 13 | | Ok(res) => res, [INFO] [stdout] | | --- this is found to be of type `String` [INFO] [stdout] 14 | | Err(e) => panic!(e) [INFO] [stdout] | | ^^^^^^^^^ expected struct `String`, found `()` [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::panic::panic_2015` (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 E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - create_wilton_error (line 279) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyObj1` in this scope [INFO] [stdout] --> src/lib.rs:281:58 [INFO] [stdout] | [INFO] [stdout] 5 | let res = wilton_rust::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:281:68 [INFO] [stdout] | [INFO] [stdout] 5 | let res = wilton_rust::register_wiltocall("hello", |obj: MyObj1| { hello(obj) }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_279_0() { [INFO] [stdout] | - help: try adding a return type: `-> *mut i8` [INFO] [stdout] ... [INFO] [stdout] 10 | return wilton_rust::create_wilton_error(res.err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found *-ptr [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found raw pointer `*mut i8` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 14 | wilton_rust::create_wilton_error(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found *-ptr [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found raw pointer `*mut i8` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 14 | wilton_rust::create_wilton_error(None); [INFO] [stdout] | ^ [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_279_0() -> *mut i8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - create_wilton_error (line 279) [INFO] [stdout] src/lib.rs - register_wiltocall (line 206) [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.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e57cf700d71cd9c137ca4cadca0234b5651ad7b89546505fa69d3b09f8d51e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57cf700d71cd9c137ca4cadca0234b5651ad7b89546505fa69d3b09f8d51e8e", kill_on_drop: false }` [INFO] [stdout] e57cf700d71cd9c137ca4cadca0234b5651ad7b89546505fa69d3b09f8d51e8e