[INFO] fetching crate whasm 0.1.1... [INFO] testing whasm-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate whasm 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate whasm 0.1.1 [INFO] finished tweaking crates.io crate whasm 0.1.1 [INFO] tweaked toml for crates.io crate whasm 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate whasm 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding err-derive v0.2.4 (available: v0.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7460d9198c50bb7d3f0f38f42137650e2b83e741dfaf5be02eb76025426e83d0 [INFO] running `Command { std: "docker" "start" "-a" "7460d9198c50bb7d3f0f38f42137650e2b83e741dfaf5be02eb76025426e83d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7460d9198c50bb7d3f0f38f42137650e2b83e741dfaf5be02eb76025426e83d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7460d9198c50bb7d3f0f38f42137650e2b83e741dfaf5be02eb76025426e83d0", kill_on_drop: false }` [INFO] [stdout] 7460d9198c50bb7d3f0f38f42137650e2b83e741dfaf5be02eb76025426e83d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14ee72e75b70f7655247a1ec97167e021ec478fc0ca44cd299fb98ed65c37e18 [INFO] running `Command { std: "docker" "start" "-a" "14ee72e75b70f7655247a1ec97167e021ec478fc0ca44cd299fb98ed65c37e18", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling whasm-grammar-derive v0.1.1 [INFO] [stderr] Compiling whasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.65s [INFO] running `Command { std: "docker" "inspect" "14ee72e75b70f7655247a1ec97167e021ec478fc0ca44cd299fb98ed65c37e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ee72e75b70f7655247a1ec97167e021ec478fc0ca44cd299fb98ed65c37e18", kill_on_drop: false }` [INFO] [stdout] 14ee72e75b70f7655247a1ec97167e021ec478fc0ca44cd299fb98ed65c37e18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e40f04f4fbee00676f538ff40984227c71ce89a76a558b0c7f84b55e11712dc [INFO] running `Command { std: "docker" "start" "-a" "7e40f04f4fbee00676f538ff40984227c71ce89a76a558b0c7f84b55e11712dc", kill_on_drop: false }` [INFO] [stderr] Compiling whasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "7e40f04f4fbee00676f538ff40984227c71ce89a76a558b0c7f84b55e11712dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e40f04f4fbee00676f538ff40984227c71ce89a76a558b0c7f84b55e11712dc", kill_on_drop: false }` [INFO] [stdout] 7e40f04f4fbee00676f538ff40984227c71ce89a76a558b0c7f84b55e11712dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eebed2a163336d1f764ee99453e05996f10f913960da7c4ad5dc6ddaade3c15c [INFO] running `Command { std: "docker" "start" "-a" "eebed2a163336d1f764ee99453e05996f10f913960da7c4ad5dc6ddaade3c15c", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] [INFO] [stderr] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] running 46 tests [INFO] [stderr] | [INFO] [stdout] test grammar::core::byte::test::byte_transmutes_to_u8 ... ok [INFO] [stderr] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] test grammar::core::derive::test::can_deserialize_matching_struct ... ok [INFO] [stderr] | ^---- [INFO] [stdout] test grammar::core::derive::test::can_deserialize_sized_enum ... ok [INFO] [stderr] | | [INFO] [stdout] test grammar::core::derive::test::can_deserialize_enum ... ok [INFO] [stderr] | `Error` is not local [INFO] [stdout] test grammar::core::byte::test::can_deserialize_byte ... ok [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] test grammar::core::derive::test::can_deserialize_forwarding_enum ... ok [INFO] [stderr] 17 | pub enum Error { [INFO] [stdout] test grammar::core::byte::test::byte_uses_exactly_1_byte ... ok [INFO] [stderr] | ----- `Error` is not local [INFO] [stdout] test grammar::core::derive::test::can_deserialize_sized_struct ... ok [INFO] [stderr] | [INFO] [stdout] test grammar::core::byte::test::byte_vector_transmutes_to_u8_vector ... ok [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] test grammar::core::derive::test::can_deserialize_struct ... ok [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] test grammar::core::array::test::can_deserialize_4_element_array ... ok [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] [stdout] test grammar::core::derive::test::can_deserialize_tuple_struct ... ok [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] [stdout] test grammar::core::array::test::can_deserialize_empty_array ... ok [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] test grammar::core::float::test::can_deserialize_f32_pi ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test grammar::core::float::test::can_deserialize_f64_pi ... ok [INFO] [stderr] [INFO] [stdout] test grammar::core::list::test::can_deserialize_list ... ok [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] test grammar::core::signed::test::can_deserialize_multibyte_positive_i8 ... ok [INFO] [stderr] --> src/grammar/core/error.rs:16:28 [INFO] [stdout] test grammar::core::signed::test::can_deserialize_positive_i8 ... ok [INFO] [stderr] | [INFO] [stdout] test grammar::core::signed::test::can_deserialize_second_spec_multibyte_i8 ... ok [INFO] [stderr] 16 | #[derive(Debug, PartialEq, Error)] [INFO] [stdout] test grammar::core::signed::test::can_deserialize_spec_i8 ... ok [INFO] [stderr] | ^---- [INFO] [stdout] test grammar::core::signed::test::can_deserialize_spec_multibyte_i8 ... ok [INFO] [stderr] | | [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_enum_with_invalid_discriminant - should panic ... ok [INFO] [stderr] | `Display` is not local [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_matching_struct_that_does_not_match - should panic ... ok [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_sized_enum_with_smaller_size - should panic ... ok [INFO] [stderr] 17 | pub enum Error { [INFO] [stdout] test grammar::core::signed::test::fails_to_deserialize_second_spec_multibyte_i8 - should panic ... ok [INFO] [stderr] | ----- `Error` is not local [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_sized_struct_with_bigger_size - should panic ... ok [INFO] [stderr] | [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_sized_struct_with_smaller_size - should panic ... ok [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] test grammar::core::string::test::can_deserialize_multibyte_utf8_string ... ok [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_sized_enum_with_bigger_size - should panic ... ok [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] [stdout] test grammar::core::signed::test::fails_to_deserialize_overflowing_negative_i8 - should panic ... ok [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] [stdout] test grammar::core::string::test::can_deserialize_ascii_string ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test grammar::core::derive::test::fails_to_deserialize_forwarding_enum_with_invalid_discriminant - should panic ... ok [INFO] [stderr] [INFO] [stdout] test grammar::core::unsigned::test::can_deserialize_multibyte_spec_u8 ... ok [INFO] [stderr] warning: `whasm` (lib) generated 2 warnings [INFO] [stdout] test grammar::core::unsigned::test::can_deserialize_multibyte_u8 ... ok [INFO] [stderr] warning: `whasm` (lib test) generated 2 warnings (2 duplicates) [INFO] [stdout] test grammar::core::signed::test::fails_to_deserialize_overflowing_positive_i8 - should panic ... ok [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] test grammar::core::signed::test::fails_to_deserialize_spec_multibyte_i8 - should panic ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/whasm-20ae457cb1e2b79d) [INFO] [stdout] test grammar::core::vec::test::can_deserialize_vec ... ok [INFO] [stderr] Doc-tests whasm [INFO] [stdout] test grammar::instr::test::can_deserialize_expression ... ok [INFO] [stdout] test grammar::core::unsigned::test::fails_to_deserialize_overflowing_u8 - should panic ... ok [INFO] [stdout] test grammar::core::unsigned::test::can_deserialize_spec_u8 ... ok [INFO] [stdout] test grammar::instr::test::can_deserialize_if_instruction_without_else_branch ... ok [INFO] [stdout] test grammar::instr::test::can_deserialize_if_instruction ... ok [INFO] [stdout] test grammar::instr::test::fails_to_deserialize_if_instruction_without_two_else_instructions - should panic ... ok [INFO] [stdout] test grammar::core::unsigned::test::fails_to_deserialize_spec_multibyte_u8 - should panic ... ok [INFO] [stdout] test grammar::instr::test::fails_to_deserialize_expression_with_else_instruction - should panic ... ok [INFO] [stdout] test grammar::test::can_deserialize_was_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 143) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 155) ... ok [INFO] [stdout] test src/grammar/core/byte.rs - grammar::core::byte::Byte (line 14) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 12) ... ok [INFO] [stdout] test src/grammar/core/byte.rs - grammar::core::byte::Byte (line 23) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 207) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 167) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 118) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 234) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 182) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 269) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 103) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 219) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 286) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 256) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 306) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 43) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 25) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 60) ... ok [INFO] [stdout] test src/grammar/core/derive.rs - grammar::core::derive::Grammar (line 91) ... ok [INFO] [stdout] test src/grammar/core/error.rs - grammar::core::error::Error (line 10) ... ok [INFO] [stdout] test src/grammar/core/float.rs - grammar::core::float (line 6) ... ok [INFO] [stdout] test src/grammar/core/mod.rs - grammar::core::Grammar (line 20) ... ok [INFO] [stdout] test src/grammar/core/list.rs - grammar::core::list::List (line 24) ... ok [INFO] [stdout] test src/grammar/core/list.rs - grammar::core::list::List (line 14) ... ok [INFO] [stdout] test src/grammar/core/signed.rs - grammar::core::signed (line 4) ... ok [INFO] [stdout] test src/grammar/core/signed.rs - grammar::core::signed (line 25) ... ok [INFO] [stdout] test src/grammar/core/signed.rs - grammar::core::signed (line 15) ... ok [INFO] [stdout] test src/grammar/core/unsigned.rs - grammar::core::unsigned (line 4) ... ok [INFO] [stdout] test src/grammar/core/signed.rs - grammar::core::signed (line 35) ... ok [INFO] [stdout] test src/grammar/core/unsigned.rs - grammar::core::unsigned (line 35) ... ok [INFO] [stdout] test src/grammar/core/unsigned.rs - grammar::core::unsigned (line 25) ... ok [INFO] [stdout] test src/grammar/core/unsigned.rs - grammar::core::unsigned (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.95s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eebed2a163336d1f764ee99453e05996f10f913960da7c4ad5dc6ddaade3c15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebed2a163336d1f764ee99453e05996f10f913960da7c4ad5dc6ddaade3c15c", kill_on_drop: false }` [INFO] [stdout] eebed2a163336d1f764ee99453e05996f10f913960da7c4ad5dc6ddaade3c15c