[INFO] fetching crate majik-file 0.0.1... [INFO] testing majik-file-0.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate majik-file 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate majik-file 0.0.1 [INFO] finished tweaking crates.io crate majik-file 0.0.1 [INFO] tweaked toml for crates.io crate majik-file 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate majik-file 0.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate majik-file 0.0.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c03098ee2b406d10208c1db787a9c7f837a3aa778ef7831479fa294d80e46aef [INFO] running `Command { std: "docker" "start" "-a" "c03098ee2b406d10208c1db787a9c7f837a3aa778ef7831479fa294d80e46aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c03098ee2b406d10208c1db787a9c7f837a3aa778ef7831479fa294d80e46aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c03098ee2b406d10208c1db787a9c7f837a3aa778ef7831479fa294d80e46aef", kill_on_drop: false }` [INFO] [stdout] c03098ee2b406d10208c1db787a9c7f837a3aa778ef7831479fa294d80e46aef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55ed5f5c31caf52710f6f351589944ef7ec9e26b693de4c591fb34c03dd0b1fb [INFO] running `Command { std: "docker" "start" "-a" "55ed5f5c31caf52710f6f351589944ef7ec9e26b693de4c591fb34c03dd0b1fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling hybrid-array v0.4.8 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hybrid-array v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling crypto-common v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling kem v0.3.0-pre.0 [INFO] [stderr] Compiling digest v0.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling ml-kem v0.2.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling majik-file v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.64s [INFO] running `Command { std: "docker" "inspect" "55ed5f5c31caf52710f6f351589944ef7ec9e26b693de4c591fb34c03dd0b1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55ed5f5c31caf52710f6f351589944ef7ec9e26b693de4c591fb34c03dd0b1fb", kill_on_drop: false }` [INFO] [stdout] 55ed5f5c31caf52710f6f351589944ef7ec9e26b693de4c591fb34c03dd0b1fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a12aea809699da1373b5461588e52f703cfe125cd2db49fdf6839d6c129a17d [INFO] running `Command { std: "docker" "start" "-a" "9a12aea809699da1373b5461588e52f703cfe125cd2db49fdf6839d6c129a17d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling kem v0.3.0-pre.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling ml-kem v0.2.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling majik-file v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.33s [INFO] running `Command { std: "docker" "inspect" "9a12aea809699da1373b5461588e52f703cfe125cd2db49fdf6839d6c129a17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a12aea809699da1373b5461588e52f703cfe125cd2db49fdf6839d6c129a17d", kill_on_drop: false }` [INFO] [stdout] 9a12aea809699da1373b5461588e52f703cfe125cd2db49fdf6839d6c129a17d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19d95f0f77bfedf3100414b1826570005cf986b45a4ce0584d81a9f9d349a0c3 [INFO] running `Command { std: "docker" "start" "-a" "19d95f0f77bfedf3100414b1826570005cf986b45a4ce0584d81a9f9d349a0c3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/majik_file-17dedc438c5d7644) [INFO] [stdout] running 44 tests [INFO] [stdout] test tests::tests::test_base64_roundtrip ... ok [INFO] [stdout] test tests::tests::test_adaptive_level_clamps_large_input ... ok [INFO] [stdout] test tests::tests::test_compression_ratio_pct_positive ... ok [INFO] [stdout] test tests::tests::test_compress_decompress_roundtrip ... ok [INFO] [stdout] test tests::tests::test_adaptive_level_passes_small_input ... ok [INFO] [stdout] test tests::tests::test_generate_random_bytes_length ... ok [INFO] [stdout] test tests::tests::test_generate_random_bytes_uniqueness ... ok [INFO] [stdout] test tests::tests::test_is_expired_future_date ... ok [INFO] [stdout] test tests::tests::test_is_expired_none ... ok [INFO] [stdout] test tests::tests::test_is_expired_past_date ... ok [INFO] [stdout] test tests::tests::test_format_bytes ... ok [INFO] [stdout] test tests::tests::test_is_valid_mjkb_rejects_garbage ... ok [INFO] [stdout] test tests::tests::test_permanent_r2_key_format ... ok [INFO] [stdout] test tests::tests::test_has_public_key_access_match ... ok [INFO] [stdout] test tests::tests::test_bind_to_thread_mail_once_only ... ok [INFO] [stdout] test tests::tests::test_is_valid_mjkb_accepts_real_file ... ok [INFO] [stdout] test tests::tests::test_chat_image_requires_conversation_id ... ok [INFO] [stdout] test tests::tests::test_sha256_base64_non_empty ... ok [INFO] [stdout] test tests::tests::test_sha256_hex_deterministic ... ok [INFO] [stdout] test tests::tests::test_should_compress_text ... ok [INFO] [stdout] test tests::tests::test_should_compress_unknown_defaults_true ... ok [INFO] [stdout] test tests::tests::test_should_not_compress_incompressible ... ok [INFO] [stdout] test tests::tests::test_sha256_hex_length_and_format ... ok [INFO] [stdout] test tests::tests::test_generate_ml_kem_keypair_sizes ... ok [INFO] [stdout] test tests::tests::test_keypairs_are_unique ... ok [INFO] [stdout] test tests::tests::test_chat_image_r2_key_prefix ... ok [INFO] [stdout] test tests::tests::test_temporary_r2_key_format ... ok [INFO] [stdout] test tests::tests::test_has_public_key_access_mismatch ... ok [INFO] [stdout] test tests::tests::test_set_temporary_updates_storage_type_and_r2_key ... ok [INFO] [stdout] test tests::tests::test_single_encrypt_produces_mjkb_candidate ... ok [INFO] [stdout] test tests::tests::test_duplicate_recipient_deduplicated ... ok [INFO] [stdout] test tests::tests::test_would_be_duplicate_detection ... ok [INFO] [stdout] test tests::tests::test_size_limit_enforced ... ok [INFO] [stdout] test tests::tests::test_set_permanent_clears_expiry ... ok [INFO] [stdout] test tests::tests::test_get_stats_fields ... ok [INFO] [stdout] test tests::tests::test_decrypt_with_metadata_returns_name_and_mime ... ok [INFO] [stdout] test tests::tests::test_to_json_from_json_roundtrip ... ok [INFO] [stdout] test tests::tests::test_toggle_sharing_on_and_off ... ok [INFO] [stdout] test tests::tests::test_decrypt_with_wrong_key_fails ... ok [INFO] [stdout] test tests::tests::test_single_encrypt_decrypt_roundtrip ... ok [INFO] [stdout] test tests::tests::test_group_encrypt_produces_group_payload ... ok [INFO] [stdout] test tests::tests::test_group_encrypt_decrypt_roundtrip_owner_and_recipient ... ok [INFO] [stdout] test tests::tests::test_exceeds_size ... ok [INFO] [stderr] Doc-tests majik_file [INFO] [stdout] test tests::tests::test_size_limit_bypass ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.26s [INFO] [stdout] [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" "19d95f0f77bfedf3100414b1826570005cf986b45a4ce0584d81a9f9d349a0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d95f0f77bfedf3100414b1826570005cf986b45a4ce0584d81a9f9d349a0c3", kill_on_drop: false }` [INFO] [stdout] 19d95f0f77bfedf3100414b1826570005cf986b45a4ce0584d81a9f9d349a0c3