[INFO] fetching crate simple-rlp 0.1.0... [INFO] testing simple-rlp-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate simple-rlp 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate simple-rlp 0.1.0 [INFO] finished tweaking crates.io crate simple-rlp 0.1.0 [INFO] tweaked toml for crates.io crate simple-rlp 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simple-rlp 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding near-sdk v3.1.0 (available: v5.17.2) [INFO] [stderr] Adding syn v1.0.57 (available: v1.0.109) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sdk v3.1.0 [INFO] [stderr] Downloaded near-sdk-core v3.1.0 [INFO] [stderr] Downloaded near-sdk-macros v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c72e087c1a449d526aa0a0ba16b64eae63969659af39263c49ffb598f68d9f8 [INFO] running `Command { std: "docker" "start" "-a" "3c72e087c1a449d526aa0a0ba16b64eae63969659af39263c49ffb598f68d9f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c72e087c1a449d526aa0a0ba16b64eae63969659af39263c49ffb598f68d9f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c72e087c1a449d526aa0a0ba16b64eae63969659af39263c49ffb598f68d9f8", kill_on_drop: false }` [INFO] [stdout] 3c72e087c1a449d526aa0a0ba16b64eae63969659af39263c49ffb598f68d9f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5442a62ed28cf35a080304a52a5fae86a0102b9b0b98a7f840466f90b188c79 [INFO] running `Command { std: "docker" "start" "-a" "c5442a62ed28cf35a080304a52a5fae86a0102b9b0b98a7f840466f90b188c79", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v3.1.0 [INFO] [stderr] Compiling simple-rlp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/encode.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/encode.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/encode.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/encode.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/encode.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/encode.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/encode.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | fn flatten(list: Vec>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/encode.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after` [INFO] [stdout] --> src/encode.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encode.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_long_list` [INFO] [stdout] --> src/encode.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_long_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encode.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | fn encode_uint_by_length(length: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/encode.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | fn bit_length(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/encode.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl RlpEncode { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | const MAX_UINT8: u8 = u8::MAX; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | const MAX_UINT16: u16 = u16::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | const MAX_UINT32: u32 = u32::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | const MAX_UINT64: u64 = u64::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | const MAX_UINT128: u128 = u128::MAX; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/encode.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn encode_int() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/encode.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn encode_bool() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.48s [INFO] running `Command { std: "docker" "inspect" "c5442a62ed28cf35a080304a52a5fae86a0102b9b0b98a7f840466f90b188c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5442a62ed28cf35a080304a52a5fae86a0102b9b0b98a7f840466f90b188c79", kill_on_drop: false }` [INFO] [stdout] c5442a62ed28cf35a080304a52a5fae86a0102b9b0b98a7f840466f90b188c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8900dd363c18a1fd831b4cfbf5846a7c491485e06580e802a7eb974cfe352cd1 [INFO] running `Command { std: "docker" "start" "-a" "8900dd363c18a1fd831b4cfbf5846a7c491485e06580e802a7eb974cfe352cd1", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/encode.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/encode.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/encode.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/encode.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/encode.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/encode.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/encode.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | fn flatten(list: Vec>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/encode.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after` [INFO] [stdout] --> src/encode.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encode.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_long_list` [INFO] [stdout] --> src/encode.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_long_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encode.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | fn encode_uint_by_length(length: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/encode.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | fn bit_length(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple-rlp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/encode.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl RlpEncode { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | const MAX_UINT8: u8 = u8::MAX; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | const MAX_UINT16: u16 = u16::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | const MAX_UINT32: u32 = u32::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | const MAX_UINT64: u64 = u64::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | const MAX_UINT128: u128 = u128::MAX; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/encode.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn encode_int() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/encode.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn encode_bool() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/encode.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/encode.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/encode.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/encode.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/encode.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/encode.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/encode.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | fn flatten(list: Vec>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/encode.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after` [INFO] [stdout] --> src/encode.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encode.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_long_list` [INFO] [stdout] --> src/encode.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_long_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encode.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | fn encode_uint_by_length(length: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/encode.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | fn bit_length(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/encode.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl RlpEncode { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | const MAX_UINT8: u8 = u8::MAX; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | const MAX_UINT16: u16 = u16::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | const MAX_UINT32: u32 = u32::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | const MAX_UINT64: u64 = u64::MAX; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | const MAX_UINT128: u128 = u128::MAX; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/encode.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn encode_int() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/encode.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn encode_bool() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "8900dd363c18a1fd831b4cfbf5846a7c491485e06580e802a7eb974cfe352cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8900dd363c18a1fd831b4cfbf5846a7c491485e06580e802a7eb974cfe352cd1", kill_on_drop: false }` [INFO] [stdout] 8900dd363c18a1fd831b4cfbf5846a7c491485e06580e802a7eb974cfe352cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d273c33e5c6abe8d79e105ecfbfae3a1658e21cca3422dfd15f2630942653f1d [INFO] running `Command { std: "docker" "start" "-a" "d273c33e5c6abe8d79e105ecfbfae3a1658e21cca3422dfd15f2630942653f1d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/encode.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | unused, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/encode.rs:70:34 [INFO] [stderr] | [INFO] [stderr] 70 | fn encode_length(len: usize, offset: usize) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/encode.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest` [INFO] [stderr] --> src/encode.rs:78:15 [INFO] [stderr] | [INFO] [stderr] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/encode.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/encode.rs:78:40 [INFO] [stderr] | [INFO] [stderr] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `list` [INFO] [stderr] --> src/encode.rs:82:16 [INFO] [stderr] | [INFO] [stderr] 82 | fn flatten(list: Vec>) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `before` [INFO] [stderr] --> src/encode.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `after` [INFO] [stderr] --> src/encode.rs:86:30 [INFO] [stderr] | [INFO] [stderr] 86 | fn concat(before: &[u8], after: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/encode.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_long_list` [INFO] [stderr] --> src/encode.rs:90:34 [INFO] [stderr] | [INFO] [stderr] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_long_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/encode.rs:94:30 [INFO] [stderr] | [INFO] [stderr] 94 | fn encode_uint_by_length(length: usize) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/encode.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | fn bit_length(n: usize) -> usize { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/encode.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 11 | impl RlpEncode { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | const MAX_UINT8: u8 = u8::MAX; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | const MAX_UINT16: u16 = u16::MAX; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 19 | const MAX_UINT32: u32 = u32::MAX; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 20 | const MAX_UINT64: u64 = u64::MAX; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 21 | const MAX_UINT128: u128 = u128::MAX; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | fn to_binary(x: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | fn memcpy(dest: usize, src: usize, len: usize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | fn add_length(length: usize, is_long_list: bool) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/encode.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn encode_int() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | missing_docs, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/encode.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn encode_bool() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple-rlp` (lib) generated 16 warnings [INFO] [stderr] warning: `simple-rlp` (lib test) generated 16 warnings (16 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/simple_rlp-06063dc03e125943) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_rlp [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" "d273c33e5c6abe8d79e105ecfbfae3a1658e21cca3422dfd15f2630942653f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d273c33e5c6abe8d79e105ecfbfae3a1658e21cca3422dfd15f2630942653f1d", kill_on_drop: false }` [INFO] [stdout] d273c33e5c6abe8d79e105ecfbfae3a1658e21cca3422dfd15f2630942653f1d