[INFO] cloning repository https://github.com/vforteli/Radius.Core.Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vforteli/Radius.Core.Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvforteli%2FRadius.Core.Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvforteli%2FRadius.Core.Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c12e2bb6f0cd3e7f95f198b756026178776f69b6 [INFO] testing vforteli/Radius.Core.Rust against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvforteli%2FRadius.Core.Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vforteli/Radius.Core.Rust on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vforteli/Radius.Core.Rust [INFO] finished tweaking git repo https://github.com/vforteli/Radius.Core.Rust [INFO] tweaked toml for git repo https://github.com/vforteli/Radius.Core.Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vforteli/Radius.Core.Rust 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.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30e3995f81d60c5ec1c16e7f26f2145ee04719909d93fe3f93871a500bd1a244 [INFO] running `Command { std: "docker" "start" "-a" "30e3995f81d60c5ec1c16e7f26f2145ee04719909d93fe3f93871a500bd1a244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30e3995f81d60c5ec1c16e7f26f2145ee04719909d93fe3f93871a500bd1a244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e3995f81d60c5ec1c16e7f26f2145ee04719909d93fe3f93871a500bd1a244", kill_on_drop: false }` [INFO] [stdout] 30e3995f81d60c5ec1c16e7f26f2145ee04719909d93fe3f93871a500bd1a244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7ccb949fd00c47c00985d8cef1ad52b66c059972dcbbe17f82fddc8727e7db3 [INFO] running `Command { std: "docker" "start" "-a" "a7ccb949fd00c47c00985d8cef1ad52b66c059972dcbbe17f82fddc8727e7db3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling radius-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/radius_packet.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | let attribute_length = packet_bytes[(position + 1)] as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - let attribute_length = packet_bytes[(position + 1)] as usize; [INFO] [stdout] 204 + let attribute_length = packet_bytes[position + 1] as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_request` is never used [INFO] [stdout] --> src/radius_packet.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RadiusPacket { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn new_request(packetcode: packet_codes::PacketCode, identifier: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/radius_packet/radius_password.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn encrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.15s [INFO] running `Command { std: "docker" "inspect" "a7ccb949fd00c47c00985d8cef1ad52b66c059972dcbbe17f82fddc8727e7db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ccb949fd00c47c00985d8cef1ad52b66c059972dcbbe17f82fddc8727e7db3", kill_on_drop: false }` [INFO] [stdout] a7ccb949fd00c47c00985d8cef1ad52b66c059972dcbbe17f82fddc8727e7db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee1303475ae3024fea816189aa2844a8fdecdf042d3cc9d5dfa77d41e1870e9e [INFO] running `Command { std: "docker" "start" "-a" "ee1303475ae3024fea816189aa2844a8fdecdf042d3cc9d5dfa77d41e1870e9e", kill_on_drop: false }` [INFO] [stderr] Compiling radius-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/radius_packet.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | let attribute_length = packet_bytes[(position + 1)] as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - let attribute_length = packet_bytes[(position + 1)] as usize; [INFO] [stdout] 204 + let attribute_length = packet_bytes[position + 1] as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "ee1303475ae3024fea816189aa2844a8fdecdf042d3cc9d5dfa77d41e1870e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1303475ae3024fea816189aa2844a8fdecdf042d3cc9d5dfa77d41e1870e9e", kill_on_drop: false }` [INFO] [stdout] ee1303475ae3024fea816189aa2844a8fdecdf042d3cc9d5dfa77d41e1870e9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fbbb39e391f3ca6f1b1c527f88fc19db3449bad9789ce219fb6cd8d076f5ff0 [INFO] running `Command { std: "docker" "start" "-a" "4fbbb39e391f3ca6f1b1c527f88fc19db3449bad9789ce219fb6cd8d076f5ff0", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/radius_packet.rs:204:49 [INFO] [stderr] | [INFO] [stderr] 204 | let attribute_length = packet_bytes[(position + 1)] as usize; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 204 - let attribute_length = packet_bytes[(position + 1)] as usize; [INFO] [stderr] 204 + let attribute_length = packet_bytes[position + 1] as usize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `radius-core` (bin "radius-core" test) generated 1 warning (run `cargo fix --bin "radius-core" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/radius_core-6e611d8a532fe29a) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test radius_packet::radius_password::tests::decrypt_password_invalid_secret ... ok [INFO] [stdout] test radius_packet::radius_password::tests::encrypt_decrypt_password_1_chunk ... ok [INFO] [stdout] test radius_packet::tests::parse_packet_invalid_request_authenticator ... ok [INFO] [stdout] test radius_packet::tests::parse_and_assemble_packet ... ok [INFO] [stdout] test radius_packet::tests::parse_packet_valid_message_authenticator ... ok [INFO] [stdout] test radius_packet::tests::parse_and_assemble_packet_extra_bytes ... ok [INFO] [stdout] test radius_packet::tests::parse_and_assemble_packet_missing_bytes ... ok [INFO] [stdout] test radius_packet::radius_password::tests::encrypt_decrypt_password_2_chunks ... ok [INFO] [stdout] test radius_packet::tests::parse_packet_invalid_message_authenticator ... ok [INFO] [stdout] test radius_packet::tests::create_access_request_packet ... ok [INFO] [stdout] test radius_packet::tests::parse_packet_valid_request_authenticator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4fbbb39e391f3ca6f1b1c527f88fc19db3449bad9789ce219fb6cd8d076f5ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbbb39e391f3ca6f1b1c527f88fc19db3449bad9789ce219fb6cd8d076f5ff0", kill_on_drop: false }` [INFO] [stdout] 4fbbb39e391f3ca6f1b1c527f88fc19db3449bad9789ce219fb6cd8d076f5ff0