[INFO] cloning repository https://github.com/sd166/cryptobox-c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sd166/cryptobox-c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsd166%2Fcryptobox-c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsd166%2Fcryptobox-c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15ccf616a3cd190fac96139bc1591d2e905c916c [INFO] testing sd166/cryptobox-c against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsd166%2Fcryptobox-c" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sd166/cryptobox-c on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sd166/cryptobox-c [INFO] finished tweaking git repo https://github.com/sd166/cryptobox-c [INFO] tweaked toml for git repo https://github.com/sd166/cryptobox-c written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/sd166/cryptobox-c already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/sd166/cryptobox` [INFO] [stderr] Updating git repository `https://github.com/sd166/proteus` [INFO] [stderr] Updating git repository `https://github.com/wireapp/proteus` [INFO] [stderr] Updating git repository `https://github.com/wireapp/hkdf` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libsodium-sys v0.0.14 [INFO] [stderr] Downloaded sodiumoxide v0.0.14 [INFO] [stderr] Downloaded cbor-codec v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea6c327fc0d49bf8b390a824750918807e6007eab02fd5f2af30d533d91d4a27 [INFO] running `Command { std: "docker" "start" "-a" "ea6c327fc0d49bf8b390a824750918807e6007eab02fd5f2af30d533d91d4a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea6c327fc0d49bf8b390a824750918807e6007eab02fd5f2af30d533d91d4a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6c327fc0d49bf8b390a824750918807e6007eab02fd5f2af30d533d91d4a27", kill_on_drop: false }` [INFO] [stdout] ea6c327fc0d49bf8b390a824750918807e6007eab02fd5f2af30d533d91d4a27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3419db14a197257cab34503c8823e80c5b3a726e2dee29b1e9b06431e8885af9 [INFO] running `Command { std: "docker" "start" "-a" "3419db14a197257cab34503c8823e80c5b3a726e2dee29b1e9b06431e8885af9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling cbor-codec v0.7.0 [INFO] [stderr] Compiling libsodium-sys v0.0.14 [INFO] [stderr] Compiling sodiumoxide v0.0.14 [INFO] [stderr] Compiling hkdf v0.2.0 (https://github.com/wireapp/hkdf?tag=v0.2.0#7aac6e99) [INFO] [stderr] Compiling proteus v1.0.0 (https://github.com/wireapp/proteus?tag=v1.0.0#5bb9f3da) [INFO] [stderr] Compiling proteus v1.0.0 (https://github.com/sd166/proteus?tag=v1.0.0#5bb9f3da) [INFO] [stderr] Compiling cryptobox v1.0.0 (https://github.com/sd166/cryptobox?tag=v1.0.0#27a74ab2) [INFO] [stderr] Compiling cryptobox-c v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, PartialEq)] [INFO] [stdout] 48 | / pub enum CBoxIdentityMode { [INFO] [stdout] 49 | | Complete = 0, [INFO] [stdout] 50 | | Public = 1 [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 340 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] 341 | / pub enum CBoxResult { [INFO] [stdout] 342 | | Success = 0, [INFO] [stdout] 343 | | StorageError = 1, [INFO] [stdout] 344 | | SessionNotFound = 2, [INFO] [stdout] ... | [INFO] [stdout] 359 | | DegeneratedKey = 17 [INFO] [stdout] 360 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CBoxResult: From` is not satisfied [INFO] [stdout] --> src/lib.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => return From::from(err) [INFO] [stdout] | ^^^^^^^^^^ the trait `From` is not implemented for `CBoxResult` [INFO] [stdout] ... [INFO] [stdout] 75 | let ident = match try_unwrap!(Identity::deserialise(id_slice)) { [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: this error originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CBoxResult: From` is not satisfied [INFO] [stdout] --> src/lib.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => return From::from(err) [INFO] [stdout] | ^^^^^^^^^^ the trait `From` is not implemented for `CBoxResult` [INFO] [stdout] ... [INFO] [stdout] 102 | let i = try_unwrap!(Identity::Sec(Cow::Borrowed(ptr2ref(cbox).identity())).serialise()); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: this error originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | let bundle = try_unwrap!(ptr2ref(cbox).new_prekey(PreKeyId::new(pkid))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `proteus::internal::keys::PreKeyId`, found struct `PreKeyId` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CBoxResult: From` is not satisfied [INFO] [stdout] --> src/lib.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => return From::from(err) [INFO] [stdout] | ^^^^^^^^^^ the trait `From` is not implemented for `CBoxResult` [INFO] [stdout] ... [INFO] [stdout] 145 | let bytes = try_unwrap!(bundle.serialise()); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: this error originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] 366 | CBoxError::ProteusError(session::Error::RemoteIdentityChanged) => CBoxResult::RemoteIdentityChanged, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] 366 | CBoxError::ProteusError(session::Error::RemoteIdentityChanged) => CBoxResult::RemoteIdentityChanged, [INFO] [stdout] 367 | CBoxError::ProteusError(session::Error::InvalidSignature) => CBoxResult::InvalidSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 368 | CBoxError::ProteusError(session::Error::InvalidMessage) => CBoxResult::InvalidMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:369:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 369 | CBoxError::ProteusError(session::Error::DuplicateMessage) => CBoxResult::DuplicateMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:370:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 370 | CBoxError::ProteusError(session::Error::TooDistantFuture) => CBoxResult::TooDistantFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:371:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 371 | CBoxError::ProteusError(session::Error::OutdatedMessage) => CBoxResult::OutdatedMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:372:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 372 | CBoxError::ProteusError(session::Error::PreKeyNotFound(_)) => CBoxResult::PreKeyNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 373 | CBoxError::ProteusError(session::Error::PreKeyStoreError(_)) => CBoxResult::StorageError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:374:37 [INFO] [stdout] | [INFO] [stdout] 365 | match e { [INFO] [stdout] | - this expression has type `CBoxError` [INFO] [stdout] ... [INFO] [stdout] 374 | CBoxError::ProteusError(session::Error::DegeneratedKey) => CBoxResult::DegeneratedKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `proteus::internal::session::Error<::Error>` [INFO] [stdout] found enum `proteus::session::Error<_>` [INFO] [stdout] = note: perhaps two different versions of crate `proteus` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptobox-c` due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3419db14a197257cab34503c8823e80c5b3a726e2dee29b1e9b06431e8885af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3419db14a197257cab34503c8823e80c5b3a726e2dee29b1e9b06431e8885af9", kill_on_drop: false }` [INFO] [stdout] 3419db14a197257cab34503c8823e80c5b3a726e2dee29b1e9b06431e8885af9