[INFO] fetching crate double-ratchet 0.1.0... [INFO] checking double-ratchet-0.1.0 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate double-ratchet 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate double-ratchet 0.1.0 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate double-ratchet 0.1.0 [INFO] finished tweaking crates.io crate double-ratchet 0.1.0 [INFO] tweaked toml for crates.io crate double-ratchet 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70ab7564a6bacff255016969ca3b4a16e0511ba934074e3b9df58140377177bd [INFO] running `Command { std: "docker" "start" "-a" "70ab7564a6bacff255016969ca3b4a16e0511ba934074e3b9df58140377177bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70ab7564a6bacff255016969ca3b4a16e0511ba934074e3b9df58140377177bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ab7564a6bacff255016969ca3b4a16e0511ba934074e3b9df58140377177bd", kill_on_drop: false }` [INFO] [stdout] 70ab7564a6bacff255016969ca3b4a16e0511ba934074e3b9df58140377177bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 424b8d2f5c825c8e6e6b88e4e380f104b8210a6c4163a984f5e4a329564c1484 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "424b8d2f5c825c8e6e6b88e4e380f104b8210a6c4163a984f5e4a329564c1484", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking double-ratchet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking block-modes v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hkdf v0.7.1 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.6 [INFO] [stderr] Checking x25519-dalek v0.5.2 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:801:29 [INFO] [stdout] | [INFO] [stdout] 801 | type DR = DoubleRatchet; [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:803:35 [INFO] [stdout] | [INFO] [stdout] 803 | fn asymmetric_setup(rng: &mut mock::Rng) -> (DR, DR) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:812:34 [INFO] [stdout] | [INFO] [stdout] 812 | fn symmetric_setup(rng: &mut mock::Rng) -> (DR, DR) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:824:23 [INFO] [stdout] | [INFO] [stdout] 824 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:850:23 [INFO] [stdout] | [INFO] [stdout] 850 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:870:23 [INFO] [stdout] | [INFO] [stdout] 870 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:911:23 [INFO] [stdout] | [INFO] [stdout] 911 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:963:23 [INFO] [stdout] | [INFO] [stdout] 963 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:975:23 [INFO] [stdout] | [INFO] [stdout] 975 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:1045:23 [INFO] [stdout] | [INFO] [stdout] 1045 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:1069:23 [INFO] [stdout] | [INFO] [stdout] 1069 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:1084:23 [INFO] [stdout] | [INFO] [stdout] 1084 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:1108:23 [INFO] [stdout] | [INFO] [stdout] 1108 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:1135:23 [INFO] [stdout] | [INFO] [stdout] 1135 | let mut rng = mock::Rng::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:805:26 [INFO] [stdout] | [INFO] [stdout] 805 | let pair = mock::KeyPair::new(rng); [INFO] [stdout] | ^^^^^^^ not found in `mock` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 799 | use crate::KeyPair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> src/dr.rs:815:26 [INFO] [stdout] | [INFO] [stdout] 815 | let pair = mock::KeyPair::new(rng); [INFO] [stdout] | ^^^^^^^ not found in `mock` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 799 | use crate::KeyPair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `double-ratchet` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "424b8d2f5c825c8e6e6b88e4e380f104b8210a6c4163a984f5e4a329564c1484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "424b8d2f5c825c8e6e6b88e4e380f104b8210a6c4163a984f5e4a329564c1484", kill_on_drop: false }` [INFO] [stdout] 424b8d2f5c825c8e6e6b88e4e380f104b8210a6c4163a984f5e4a329564c1484