[INFO] fetching crate gs11n 0.3.1... [INFO] testing gs11n-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gs11n 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate gs11n 0.3.1 [INFO] finished tweaking crates.io crate gs11n 0.3.1 [INFO] tweaked toml for crates.io crate gs11n 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gs11n 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] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.1.26 (available: v0.5.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.8) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [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] 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] 2a9109860b26ec54f48786086bca989baba1e1ede8ecb096c8ad1430f8fe44a8 [INFO] running `Command { std: "docker" "start" "-a" "2a9109860b26ec54f48786086bca989baba1e1ede8ecb096c8ad1430f8fe44a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a9109860b26ec54f48786086bca989baba1e1ede8ecb096c8ad1430f8fe44a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a9109860b26ec54f48786086bca989baba1e1ede8ecb096c8ad1430f8fe44a8", kill_on_drop: false }` [INFO] [stdout] 2a9109860b26ec54f48786086bca989baba1e1ede8ecb096c8ad1430f8fe44a8 [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] 9402a3b76e8902b0e81be76d17e15ccd00fb35e635d3ca76599ae05de7c8c9e2 [INFO] running `Command { std: "docker" "start" "-a" "9402a3b76e8902b0e81be76d17e15ccd00fb35e635d3ca76599ae05de7c8c9e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling gs11n v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/serialization/encoder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaybeUninit` [INFO] [stdout] --> src/types/string.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/serialization/decoder.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_context(&self) -> &DecodeContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_context(&self) -> &DecodeContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "9402a3b76e8902b0e81be76d17e15ccd00fb35e635d3ca76599ae05de7c8c9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9402a3b76e8902b0e81be76d17e15ccd00fb35e635d3ca76599ae05de7c8c9e2", kill_on_drop: false }` [INFO] [stdout] 9402a3b76e8902b0e81be76d17e15ccd00fb35e635d3ca76599ae05de7c8c9e2 [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] a0a305a89718fc433569ee64e10f43565740dbd9661400de11aa3b27ba919e35 [INFO] running `Command { std: "docker" "start" "-a" "a0a305a89718fc433569ee64e10f43565740dbd9661400de11aa3b27ba919e35", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/serialization/encoder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaybeUninit` [INFO] [stdout] --> src/types/string.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/serialization/decoder.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_context(&self) -> &DecodeContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_context(&self) -> &DecodeContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling cargo_metadata v0.9.1 [INFO] [stderr] Compiling test-cdylib v1.1.0 [INFO] [stderr] Compiling gs11n v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/serialization/encoder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaybeUninit` [INFO] [stdout] --> src/types/string.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/plugin_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 20 | impl dyn ToString { [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `ToString` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/plugin_test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 27 | impl gs11n::WireTypeTrait for Box {} [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `WireTypeTrait` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/plugin_test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 28 | impl gs11n::Serialization for Box { [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `Serialization` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/plugin_test.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 37 | impl gs11n::DeSerialization for Box { [INFO] [stdout] | ^^^^^----------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `DeSerialization` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/dynamic_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 19 | impl dyn ToString { [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `ToString` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/dynamic_test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 27 | impl gs11n::WireTypeTrait for Box {} [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `WireTypeTrait` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/dynamic_test.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 29 | impl gs11n::Serialization for Box { [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `Serialization` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/dynamic_test.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 39 | impl gs11n::DeSerialization for Box { [INFO] [stdout] | ^^^^^----------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `DeSerialization` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/serialization/decoder.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_context(&self) -> &DecodeContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_context(&self) -> &DecodeContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.10s [INFO] running `Command { std: "docker" "inspect" "a0a305a89718fc433569ee64e10f43565740dbd9661400de11aa3b27ba919e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a305a89718fc433569ee64e10f43565740dbd9661400de11aa3b27ba919e35", kill_on_drop: false }` [INFO] [stdout] a0a305a89718fc433569ee64e10f43565740dbd9661400de11aa3b27ba919e35 [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] 604e858fc6e2faad3a8d469a1e7555a11a43255361ac5a3082ee758cafcb8173 [INFO] running `Command { std: "docker" "start" "-a" "604e858fc6e2faad3a8d469a1e7555a11a43255361ac5a3082ee758cafcb8173", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::mem::MaybeUninit` [INFO] [stderr] --> src/serialization/encoder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::mem::MaybeUninit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stderr] --> src/types/signed.rs:42:7 [INFO] [stderr] | [INFO] [stderr] 42 | #[cfg(has_i128)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stderr] --> src/types/signed.rs:73:7 [INFO] [stderr] | [INFO] [stderr] 73 | #[cfg(has_i128)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `MaybeUninit` [INFO] [stderr] --> src/types/string.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | use std::mem::{size_of, MaybeUninit}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/serialization/decoder.rs:209:24 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn get_context(&self) -> &DecodeContext { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 209 | pub fn get_context(&self) -> &DecodeContext<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `gs11n` (lib) generated 5 warnings (run `cargo fix --lib -p gs11n` to apply 3 suggestions) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/plugin_test.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 20 | impl dyn ToString { [INFO] [stderr] | ^^^^^^^^^-------- [INFO] [stderr] | | [INFO] [stderr] | `ToString` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/plugin_test.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 27 | impl gs11n::WireTypeTrait for Box {} [INFO] [stderr] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `ToString` is not local [INFO] [stderr] | | `Box` is not local [INFO] [stderr] | `WireTypeTrait` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/plugin_test.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 28 | impl gs11n::Serialization for Box { [INFO] [stderr] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `ToString` is not local [INFO] [stderr] | | `Box` is not local [INFO] [stderr] | `Serialization` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/plugin_test.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 37 | impl gs11n::DeSerialization for Box { [INFO] [stderr] | ^^^^^----------------------^^^^^---^^^^^--------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `ToString` is not local [INFO] [stderr] | | `Box` is not local [INFO] [stderr] | `DeSerialization` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/dynamic_test.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 19 | impl dyn ToString { [INFO] [stderr] | ^^^^^^^^^-------- [INFO] [stderr] | | [INFO] [stderr] | `ToString` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/dynamic_test.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 27 | impl gs11n::WireTypeTrait for Box {} [INFO] [stderr] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `ToString` is not local [INFO] [stderr] | | `Box` is not local [INFO] [stderr] | `WireTypeTrait` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/dynamic_test.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 29 | impl gs11n::Serialization for Box { [INFO] [stderr] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `ToString` is not local [INFO] [stderr] | | `Box` is not local [INFO] [stderr] | `Serialization` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/dynamic_test.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stderr] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stderr] ... [INFO] [stderr] 39 | impl gs11n::DeSerialization for Box { [INFO] [stderr] | ^^^^^----------------------^^^^^---^^^^^--------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `ToString` is not local [INFO] [stderr] | | `Box` is not local [INFO] [stderr] | `DeSerialization` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] [INFO] [stderr] warning: `gs11n` (test "plugin_test") generated 4 warnings (run `cargo fix --test "plugin_test"` to apply 4 suggestions) [INFO] [stderr] warning: `gs11n` (test "dynamic_test") generated 4 warnings (run `cargo fix --test "dynamic_test"` to apply 4 suggestions) [INFO] [stderr] warning: `gs11n` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gs11n-d09f222d1bb36228) [INFO] [stdout] [INFO] [stderr] Running tests/dynamic_test.rs (/opt/rustwide/target/debug/deps/dynamic_test-948e6fd686f20329) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test non_dyn_test ... ok [INFO] [stdout] test dyn_test ... ok [INFO] [stderr] Running tests/generic_test.rs (/opt/rustwide/target/debug/deps/generic_test-29bf770b67c8509c) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test generic_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/map_test.rs (/opt/rustwide/target/debug/deps/map_test-b1f0e57b1b55db16) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test map_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/plugin_test.rs (/opt/rustwide/target/debug/deps/plugin_test-5c4d4d02c95b3d01) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] warning: `/opt/rustwide/target/cdylibs/gs11n/dynamic_test/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: /opt/rustwide/target/cdylibs/gs11n/dynamic_test/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `gs11n_cdylib_dynamic_test` library target) [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.1.26 (available: v0.2.9) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.8) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling gs11n v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling gs11n-cdylib-dynamic_test v0.0.0 (/opt/rustwide/target/cdylibs/gs11n/dynamic_test) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.65s [INFO] [stdout] test plugin_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.73s [INFO] [stdout] [INFO] [stderr] Running tests/prefab_test.rs (/opt/rustwide/target/debug/deps/prefab_test-1d8e16c0c05063ac) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test prefab_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/serialization.rs (/opt/rustwide/target/debug/deps/serialization-461f86f4fccff270) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test floating_swap_bytes_test ... ok [INFO] [stdout] test zigzag_test ... ok [INFO] [stdout] test integer_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/struct_test.rs (/opt/rustwide/target/debug/deps/struct_test-0308089ea1beefb1) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test struct_reflection_test ... ok [INFO] [stdout] test struct_serialization_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/vector_test.rs (/opt/rustwide/target/debug/deps/vector_test-61011cfd89ac25aa) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] [INFO] [stderr] thread 'vector_serialization_test' (286) panicked at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ptr/mod.rs:527:5: [INFO] [stderr] unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap [INFO] [stderr] [INFO] [stderr] This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety. [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5e29587636d2 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5e29587636d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5e29587636d2 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5e29587636d2 - ::fmt::hffd20ad4e5eca8ab [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5e29587742ef - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5e29587742ef - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5e2958730d23 - std::io::default_write_fmt::ha7130bf70117e1da [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5e2958730d23 - std::io::Write::write_fmt::h22459ad26fe60c51 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5e295873cd42 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5e295874179f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5e29587415f9 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5e29586f9c1e - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 12: 0x5e29586f9c1e - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5e2958741e3e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 14: 0x5e2958741e3e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5e2958741bd6 - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x5e295873ce79 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5e29587251ed - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5e295877ba2d - core::panicking::panic_nounwind_fmt::runtime::h0e9d970dfc029f14 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x5e295877ba2d - core::panicking::panic_nounwind_fmt::h120e82628a1ba90a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/intrinsics/mod.rs:2380:9 [INFO] [stderr] 20: 0x5e29586d44d3 - core::ptr::copy_nonoverlapping::precondition_check::h11e58ac682cc20b4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ub_checks.rs:72:21 [INFO] [stderr] 21: 0x5e29586d6ec2 - core::ptr::copy_nonoverlapping::h036789f1e8b7a1c0 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ub_checks.rs:77:17 [INFO] [stderr] 22: 0x5e29586d6ec2 - gs11n::types::slice::encode_slice::h066d0c4c4f88d87b [INFO] [stderr] at /opt/rustwide/workdir/src/types/slice.rs:17:13 [INFO] [stderr] 23: 0x5e29586d75a5 - gs11n::types::slice::>::encode::h67e35839d4fa4159 [INFO] [stderr] at /opt/rustwide/workdir/src/types/slice.rs:75:9 [INFO] [stderr] 24: 0x5e29586d6cc8 - gs11n::serialization::encoder::Encoder::encode::hd7e084366841b72b [INFO] [stderr] at /opt/rustwide/workdir/src/serialization/encoder.rs:121:20 [INFO] [stderr] 25: 0x5e29586d32c1 - vector_test::vector_serialization_test::hd41414c00dbdd1aa [INFO] [stderr] at /opt/rustwide/workdir/tests/vector_test.rs:8:33 [INFO] [stderr] 26: 0x5e29586d3877 - vector_test::vector_serialization_test::{{closure}}::hab25664b44387386 [INFO] [stderr] at /opt/rustwide/workdir/tests/vector_test.rs:5:31 [INFO] [stderr] 27: 0x5e29586d3f86 - core::ops::function::FnOnce::call_once::he634544ee70ebf7a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 28: 0x5e29586f99db - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 29: 0x5e29586f99db - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stderr] 30: 0x5e295870f4c5 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stderr] 31: 0x5e295870f4c5 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 32: 0x5e295870f4c5 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 33: 0x5e295870f4c5 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 34: 0x5e295870f4c5 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 35: 0x5e295870f4c5 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stderr] 36: 0x5e295870f4c5 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stderr] 37: 0x5e29586e5eb4 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stderr] 38: 0x5e29586e5eb4 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 39: 0x5e29586e96fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 40: 0x5e29586e96fa - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 41: 0x5e29586e96fa - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 42: 0x5e29586e96fa - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 43: 0x5e29586e96fa - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 44: 0x5e29586e96fa - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 45: 0x5e29586e96fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 46: 0x5e29587370ff - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 47: 0x5e29587370ff - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 48: 0x76d4fe63daa4 - [INFO] [stderr] 49: 0x76d4fe6caa34 - clone [INFO] [stderr] 50: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--test vector_test` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/vector_test-61011cfd89ac25aa` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "604e858fc6e2faad3a8d469a1e7555a11a43255361ac5a3082ee758cafcb8173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604e858fc6e2faad3a8d469a1e7555a11a43255361ac5a3082ee758cafcb8173", kill_on_drop: false }` [INFO] [stdout] 604e858fc6e2faad3a8d469a1e7555a11a43255361ac5a3082ee758cafcb8173