[INFO] cloning repository https://github.com/metadave/b2b [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/metadave/b2b" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetadave%2Fb2b", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetadave%2Fb2b'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22024951834ccd277b6acbd03257c42bb40dcd79 [INFO] checking metadave/b2b against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetadave%2Fb2b" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/metadave/b2b on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/metadave/b2b [INFO] finished tweaking git repo https://github.com/metadave/b2b [INFO] tweaked toml for git repo https://github.com/metadave/b2b written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/metadave/b2b already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libsodium-sys v0.0.10 [INFO] [stderr] Downloaded sodiumoxide v0.0.10 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e74a67a6c112ad1c8ecb4c47428b1a5e855a6b602112c66665b09da9dee763e [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" "0e74a67a6c112ad1c8ecb4c47428b1a5e855a6b602112c66665b09da9dee763e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e74a67a6c112ad1c8ecb4c47428b1a5e855a6b602112c66665b09da9dee763e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e74a67a6c112ad1c8ecb4c47428b1a5e855a6b602112c66665b09da9dee763e", kill_on_drop: false }` [INFO] [stdout] 0e74a67a6c112ad1c8ecb4c47428b1a5e855a6b602112c66665b09da9dee763e [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90b36b04e2768e64437d9aa2d0d2f61d41ca7d078a5b9107158cbbac8b80869e [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" "90b36b04e2768e64437d9aa2d0d2f61d41ca7d078a5b9107158cbbac8b80869e", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling libsodium-sys v0.0.10 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking sodiumoxide v0.0.10 [INFO] [stderr] Checking b2b v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_statebytes` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | let mut st = vec![0u8; (unsafe { libsodium_sys::crypto_generichash_statebytes() })]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `crypto_generichash_bytes` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crypto_generichash_bytes() -> size_t; [INFO] [stdout] | -------------------------------------------- similarly named function `crypto_generichash_bytes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `crypto_generichash_state` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | mem::transmute::<*mut u8, *mut libsodium_sys::crypto_generichash_state>(st.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `libsodium_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_init` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | libsodium_sys::crypto_generichash_init(pst, ptr::null_mut(), 0, len / 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `crypto_generichash` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / pub fn crypto_generichash( [INFO] [stdout] 21 | | out: *mut u8, [INFO] [stdout] 22 | | outlen: size_t, [INFO] [stdout] 23 | | in_: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 26 | | keylen: size_t) [INFO] [stdout] 27 | | -> c_int; [INFO] [stdout] | |_________________- similarly named function `crypto_generichash` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_update` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | libsodium_sys::crypto_generichash_update(pst, chunk.as_ptr(), chunk.len() as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `crypto_generichash_bytes` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crypto_generichash_bytes() -> size_t; [INFO] [stdout] | -------------------------------------------- similarly named function `crypto_generichash_bytes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_final` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | libsodium_sys::crypto_generichash_final(pst, out.as_mut_ptr(), len / 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `crypto_generichash_BYTES` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const crypto_generichash_BYTES: usize = crypto_generichash_blake2b_BYTES; [INFO] [stdout] | ----------------------------------------------------------------------------- similarly named constant `crypto_generichash_BYTES` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let file = try!(File::open(filename.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let bytes_read = try!(reader.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let mut st = vec![0u8; (unsafe { libsodium_sys::crypto_generichash_statebytes() })]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_statebytes` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | let mut st = vec![0u8; (unsafe { libsodium_sys::crypto_generichash_statebytes() })]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `crypto_generichash_bytes` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crypto_generichash_bytes() -> size_t; [INFO] [stdout] | -------------------------------------------- similarly named function `crypto_generichash_bytes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `b2b` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `crypto_generichash_state` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | mem::transmute::<*mut u8, *mut libsodium_sys::crypto_generichash_state>(st.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `libsodium_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_init` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | libsodium_sys::crypto_generichash_init(pst, ptr::null_mut(), 0, len / 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `crypto_generichash` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / pub fn crypto_generichash( [INFO] [stdout] 21 | | out: *mut u8, [INFO] [stdout] 22 | | outlen: size_t, [INFO] [stdout] 23 | | in_: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 26 | | keylen: size_t) [INFO] [stdout] 27 | | -> c_int; [INFO] [stdout] | |_________________- similarly named function `crypto_generichash` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_update` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | libsodium_sys::crypto_generichash_update(pst, chunk.as_ptr(), chunk.len() as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `crypto_generichash_bytes` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crypto_generichash_bytes() -> size_t; [INFO] [stdout] | -------------------------------------------- similarly named function `crypto_generichash_bytes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crypto_generichash_final` in crate `libsodium_sys` [INFO] [stdout] --> src/main.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | libsodium_sys::crypto_generichash_final(pst, out.as_mut_ptr(), len / 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `crypto_generichash_BYTES` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.0.10/src/crypto_generichash.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const crypto_generichash_BYTES: usize = crypto_generichash_blake2b_BYTES; [INFO] [stdout] | ----------------------------------------------------------------------------- similarly named constant `crypto_generichash_BYTES` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let file = try!(File::open(filename.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let bytes_read = try!(reader.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let mut st = vec![0u8; (unsafe { libsodium_sys::crypto_generichash_statebytes() })]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "90b36b04e2768e64437d9aa2d0d2f61d41ca7d078a5b9107158cbbac8b80869e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90b36b04e2768e64437d9aa2d0d2f61d41ca7d078a5b9107158cbbac8b80869e", kill_on_drop: false }` [INFO] [stdout] 90b36b04e2768e64437d9aa2d0d2f61d41ca7d078a5b9107158cbbac8b80869e