[INFO] cloning repository https://github.com/VGLoic/cryptography-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VGLoic/cryptography-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVGLoic%2Fcryptography-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVGLoic%2Fcryptography-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 425f7670a1ceec7e90585c36e3185bc3eea1ae55 [INFO] testing VGLoic/cryptography-examples against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVGLoic%2Fcryptography-examples" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VGLoic/cryptography-examples [INFO] finished tweaking git repo https://github.com/VGLoic/cryptography-examples [INFO] tweaked toml for git repo https://github.com/VGLoic/cryptography-examples written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VGLoic/cryptography-examples on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VGLoic/cryptography-examples 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01 [INFO] running `Command { std: "docker" "start" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blst v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling cryptography-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused dependency `aes-gcm` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | aes-gcm = "0.10.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `aes-gcm` [INFO] [stderr] warning: unused dependency `anyhow` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | anyhow = "1.0.99" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `anyhow` [INFO] [stderr] warning: unused dependency `argon2` [INFO] [stderr] --> Cargo.toml:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | [dependencies.argon2] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `argon2` [INFO] [stderr] warning: unused dependency `base64` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | base64 = "0.22.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `base64` [INFO] [stderr] warning: unused dependency `blst` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | blst = "0.3.15" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `blst` [INFO] [stderr] warning: unused dependency `cbc` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | cbc = "0.1.2" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `cbc` [INFO] [stderr] warning: unused dependency `chacha20poly1305` [INFO] [stderr] --> Cargo.toml:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | [dependencies.chacha20poly1305] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `chacha20poly1305` [INFO] [stderr] warning: unused dependency `ed25519-dalek` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | ed25519-dalek = "2.2.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `ed25519-dalek` [INFO] [stderr] warning: unused dependency `hex` [INFO] [stderr] --> Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | hex = "0.4.3" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `hex` [INFO] [stderr] warning: unused dependency `k256` [INFO] [stderr] --> Cargo.toml:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | k256 = "0.13.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `k256` [INFO] [stderr] warning: unused dependency `rsa` [INFO] [stderr] --> Cargo.toml:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | [dependencies.rsa] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `rsa` [INFO] [stderr] warning: unused dependency `scrypt` [INFO] [stderr] --> Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | scrypt = "0.11.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `scrypt` [INFO] [stderr] warning: unused dependency `sha3` [INFO] [stderr] --> Cargo.toml:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | [dependencies.sha3] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `sha3` [INFO] [stderr] warning: `cryptography-examples` (manifest) generated 13 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling fake v4.4.0 [INFO] [stderr] Compiling cryptography-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/cryptography-examples/bb4ac72ac91f88e5/out/cryptography_examples-bb4ac72ac91f88e5) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test asymmetric_scheme_cyclic_integer::tests::test_encryption ... ok [INFO] [stdout] test asymmetric_scheme_cyclic_integer::tests::test_dhke ... ok [INFO] [stdout] test asymmetric_scheme_ec::tests::test_ecdhke ... ok [INFO] [stdout] test asymmetric_scheme_ec::tests::test_encryption ... ok [INFO] [stdout] test elgamal_signature_cyclic_integer::tests::test_gcd ... ok [INFO] [stdout] test hmac::tests::test_hmac_example_2 ... ok [INFO] [stdout] test hmac::tests::test_hmac_example_1 ... ok [INFO] [stdout] test rsa_encryption::tests::test_failed_decryption_with_private_key ... ok [INFO] [stdout] test rsa_encryption::tests::test_encryption_with_public_key ... ok [INFO] [stdout] test elgamal_signature_cyclic_integer::tests::test_verify_elgamal_sig ... ok [INFO] [stdout] test ecdh::tests::test_ecdh ... ok [INFO] [stdout] test ecdsa::tests::test_raw_ecdsa ... ok [INFO] [stdout] test ecdsa::tests::test_ecdsa ... ok [INFO] [stdout] test eddsa::tests::test_eddsa ... ok [INFO] [stdout] test ec_encryption::tests::test_ec_aes_256_gcm_encryption ... ok [INFO] [stdout] test argon2::tests::test_argon2_key_derivation ... ok [INFO] [stdout] test argon2::tests::test_argon2_password_hash ... ok [INFO] [stdout] test ecies::tests::test_ecies_scheme ... ok [INFO] [stdout] test rsa_signature::tests::test_rsa_signature ... ok [INFO] [stdout] test rsa_encryption::tests::test_rsa_cycle ... ok [INFO] [stdout] test rsa_encryption::tests::test_rsa_kem ... ok [INFO] [stdout] test aes_encryption::tests::test_aes_scrypt_hmac ... ok [INFO] [stdout] test chacha20poly1305_encryption::tests::test_chacha20poly1305_encryption ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 47.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01", kill_on_drop: false }` [INFO] [stdout] db6cce9fe4fe73dc730886c8cad5f977f11021dff5ee17267eccc3e18d324f01