[INFO] cloning repository https://github.com/aeolwyr/tergent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aeolwyr/tergent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeolwyr%2Ftergent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeolwyr%2Ftergent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4b25663d773572c0052071f54f9577741672238 [INFO] checking aeolwyr/tergent against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeolwyr%2Ftergent" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aeolwyr/tergent on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aeolwyr/tergent [INFO] finished tweaking git repo https://github.com/aeolwyr/tergent [INFO] tweaked toml for git repo https://github.com/aeolwyr/tergent written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aeolwyr/tergent 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.3.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e31a1a585b66b80b4432f61bfbc8a995ae5e33265ca20a11054c2a0a04e2f52 [INFO] running `Command { std: "docker" "start" "-a" "2e31a1a585b66b80b4432f61bfbc8a995ae5e33265ca20a11054c2a0a04e2f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e31a1a585b66b80b4432f61bfbc8a995ae5e33265ca20a11054c2a0a04e2f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e31a1a585b66b80b4432f61bfbc8a995ae5e33265ca20a11054c2a0a04e2f52", kill_on_drop: false }` [INFO] [stdout] 2e31a1a585b66b80b4432f61bfbc8a995ae5e33265ca20a11054c2a0a04e2f52 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9804bf761d2cea8a963086723522de449c305b2fe60521827483a9b800f6bfc2 [INFO] running `Command { std: "docker" "start" "-a" "9804bf761d2cea8a963086723522de449c305b2fe60521827483a9b800f6bfc2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling num-derive v0.3.1 [INFO] [stderr] Checking tergent v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `notification::Notification` [INFO] [stdout] --> src/pkcs11/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use notification::Notification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_type::UserType` [INFO] [stdout] --> src/pkcs11/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use user_type::UserType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `session_state::SessionState` [INFO] [stdout] --> src/pkcs11/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use session_state::SessionState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notification::Notification` [INFO] [stdout] --> src/pkcs11/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use notification::Notification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_type::UserType` [INFO] [stdout] --> src/pkcs11/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use user_type::UserType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `session_state::SessionState` [INFO] [stdout] --> src/pkcs11/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use session_state::SessionState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hardware_feature_type::HardwareFeatureType` [INFO] [stdout] --> src/pkcs11/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use hardware_feature_type::HardwareFeatureType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `certificate_category::CertificateCategory` [INFO] [stdout] --> src/pkcs11/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use certificate_category::CertificateCategory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `security_domain::SecurityDomain` [INFO] [stdout] --> src/pkcs11/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub use security_domain::SecurityDomain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `certificate_type::CertificateType` [INFO] [stdout] --> src/pkcs11/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use certificate_type::CertificateType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hardware_feature_type::HardwareFeatureType` [INFO] [stdout] --> src/pkcs11/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use hardware_feature_type::HardwareFeatureType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `certificate_category::CertificateCategory` [INFO] [stdout] --> src/pkcs11/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use certificate_category::CertificateCategory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mask_generation_function::MaskGenerationFunction` [INFO] [stdout] --> src/pkcs11/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use mask_generation_function::MaskGenerationFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `security_domain::SecurityDomain` [INFO] [stdout] --> src/pkcs11/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub use security_domain::SecurityDomain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `key_derivation_function::KeyDerivationFunction` [INFO] [stdout] --> src/pkcs11/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use key_derivation_function::KeyDerivationFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pseudo_random_function::PseudoRandomFunction` [INFO] [stdout] --> src/pkcs11/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use pseudo_random_function::PseudoRandomFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `certificate_type::CertificateType` [INFO] [stdout] --> src/pkcs11/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use certificate_type::CertificateType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mask_generation_function::MaskGenerationFunction` [INFO] [stdout] --> src/pkcs11/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use mask_generation_function::MaskGenerationFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `key_derivation_function::KeyDerivationFunction` [INFO] [stdout] --> src/pkcs11/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use key_derivation_function::KeyDerivationFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pseudo_random_function::PseudoRandomFunction` [INFO] [stdout] --> src/pkcs11/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use pseudo_random_function::PseudoRandomFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | *function_list = &mut FUNCTION_LIST as *mut FunctionList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | *function_list = addr_of_mut!(FUNCTION_LIST) as *mut FunctionList; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable reference of mutable static is discouraged [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | *function_list = &mut FUNCTION_LIST as *mut FunctionList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | *function_list = addr_of_mut!(FUNCTION_LIST) as *mut FunctionList; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut info = unsafe { &mut *info }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut slot_info = unsafe { &mut *info }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut token_info = unsafe { &mut *info }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut info = unsafe { &mut *info }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut slot_info = unsafe { &mut *info }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut token_info = unsafe { &mut *info }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.05s [INFO] running `Command { std: "docker" "inspect" "9804bf761d2cea8a963086723522de449c305b2fe60521827483a9b800f6bfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9804bf761d2cea8a963086723522de449c305b2fe60521827483a9b800f6bfc2", kill_on_drop: false }` [INFO] [stdout] 9804bf761d2cea8a963086723522de449c305b2fe60521827483a9b800f6bfc2