[INFO] cloning repository https://github.com/URCL/urcl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/URCL/urcl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FURCL%2Furcl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FURCL%2Furcl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 889343a7e4f0567b15c95b98afeaa2ac2c94bdbc [INFO] testing URCL/urcl-rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FURCL%2Furcl-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/URCL/urcl-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/URCL/urcl-rs [INFO] finished tweaking git repo https://github.com/URCL/urcl-rs [INFO] tweaked toml for git repo https://github.com/URCL/urcl-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/URCL/urcl-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50540012cca8cb7637c56da0d76941a51f8ad9a612d5742d3b34899a24781515 [INFO] running `Command { std: "docker" "start" "-a" "50540012cca8cb7637c56da0d76941a51f8ad9a612d5742d3b34899a24781515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50540012cca8cb7637c56da0d76941a51f8ad9a612d5742d3b34899a24781515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50540012cca8cb7637c56da0d76941a51f8ad9a612d5742d3b34899a24781515", kill_on_drop: false }` [INFO] [stdout] 50540012cca8cb7637c56da0d76941a51f8ad9a612d5742d3b34899a24781515 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea6429bb03451030fe7815d7122fa6b1b0ca90c7825104deeac2282e859014a [INFO] running `Command { std: "docker" "start" "-a" "8ea6429bb03451030fe7815d7122fa6b1b0ca90c7825104deeac2282e859014a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling urcl-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `src` is never read [INFO] [stdout] --> src/emulator/ast.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 588 | pub struct DebugInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 589 | pub src: Rc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/emulator/devices/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/emulator/errorcontext.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | drop(span); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 120 - drop(span); [INFO] [stdout] 120 + let _ = span; [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] --> src/emulator/devices/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, EnumString, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IOPort` [INFO] [stdout] ... [INFO] [stdout] 14 | pub enum IOPort { [INFO] [stdout] | ------ `IOPort` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src` is never read [INFO] [stdout] --> src/emulator/ast.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 588 | pub struct DebugInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 589 | pub src: Rc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/emulator/devices/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/emulator/errorcontext.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | drop(span); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 120 - drop(span); [INFO] [stdout] 120 + let _ = span; [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] --> src/emulator/devices/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, EnumString, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IOPort` [INFO] [stdout] ... [INFO] [stdout] 14 | pub enum IOPort { [INFO] [stdout] | ------ `IOPort` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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 15.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8ea6429bb03451030fe7815d7122fa6b1b0ca90c7825104deeac2282e859014a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea6429bb03451030fe7815d7122fa6b1b0ca90c7825104deeac2282e859014a", kill_on_drop: false }` [INFO] [stdout] 8ea6429bb03451030fe7815d7122fa6b1b0ca90c7825104deeac2282e859014a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f319b0b8cb08701428ce01bde898adb5cc11b5f591bfc1087399f237178b6b69 [INFO] running `Command { std: "docker" "start" "-a" "f319b0b8cb08701428ce01bde898adb5cc11b5f591bfc1087399f237178b6b69", kill_on_drop: false }` [INFO] [stderr] Compiling urcl-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `src` is never read [INFO] [stdout] --> src/emulator/ast.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 588 | pub struct DebugInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 589 | pub src: Rc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/emulator/devices/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/emulator/errorcontext.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | drop(span); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 120 - drop(span); [INFO] [stdout] 120 + let _ = span; [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] --> src/emulator/devices/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, EnumString, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IOPort` [INFO] [stdout] ... [INFO] [stdout] 14 | pub enum IOPort { [INFO] [stdout] | ------ `IOPort` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src` is never read [INFO] [stdout] --> src/emulator/ast.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 588 | pub struct DebugInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 589 | pub src: Rc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/emulator/devices/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/emulator/errorcontext.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | drop(span); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 120 - drop(span); [INFO] [stdout] 120 + let _ = span; [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] --> src/emulator/devices/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, EnumString, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IOPort` [INFO] [stdout] ... [INFO] [stdout] 14 | pub enum IOPort { [INFO] [stdout] | ------ `IOPort` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f319b0b8cb08701428ce01bde898adb5cc11b5f591bfc1087399f237178b6b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f319b0b8cb08701428ce01bde898adb5cc11b5f591bfc1087399f237178b6b69", kill_on_drop: false }` [INFO] [stdout] f319b0b8cb08701428ce01bde898adb5cc11b5f591bfc1087399f237178b6b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71273cc4f1fa64d5edaa2cc785f9d08ba5e28c4b754c7235231e53861a8d3307 [INFO] running `Command { std: "docker" "start" "-a" "71273cc4f1fa64d5edaa2cc785f9d08ba5e28c4b754c7235231e53861a8d3307", kill_on_drop: false }` [INFO] [stderr] warning: field `src` is never read [INFO] [stderr] --> src/emulator/ast.rs:589:9 [INFO] [stderr] | [INFO] [stderr] 588 | pub struct DebugInfo { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 589 | pub src: Rc, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DebugInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Device` is never used [INFO] [stderr] --> src/emulator/devices/mod.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub trait Device { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/emulator/errorcontext.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | drop(span); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 120 - drop(span); [INFO] [stderr] 120 + let _ = span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/emulator/devices/mod.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone, Copy, EnumString, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IOPort` [INFO] [stderr] ... [INFO] [stderr] 14 | pub enum IOPort { [INFO] [stderr] | ------ `IOPort` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `urcl-rs` (lib test) generated 4 warnings [INFO] [stderr] warning: `urcl-rs` (bin "urcl-rs" test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/urcl_rs-ec38395bb0930f02) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/urcl_rs-3c09d5be54797607) [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] running `Command { std: "docker" "inspect" "71273cc4f1fa64d5edaa2cc785f9d08ba5e28c4b754c7235231e53861a8d3307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71273cc4f1fa64d5edaa2cc785f9d08ba5e28c4b754c7235231e53861a8d3307", kill_on_drop: false }` [INFO] [stdout] 71273cc4f1fa64d5edaa2cc785f9d08ba5e28c4b754c7235231e53861a8d3307