[INFO] updating cached repository charredlot/cryptopals-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/charredlot/cryptopals-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/charredlot/cryptopals-rust" "work/ex/beta-1.37-6/sources/1.36.0/gh/charredlot/cryptopals-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/charredlot/cryptopals-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/charredlot/cryptopals-rust" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/charredlot/cryptopals-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/charredlot/cryptopals-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 50cecd398c41956e93fd8d91cfa04cc0bfa7fb56 [INFO] sha for GitHub repo charredlot/cryptopals-rust: 50cecd398c41956e93fd8d91cfa04cc0bfa7fb56 [INFO] validating manifest of charredlot/cryptopals-rust on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of charredlot/cryptopals-rust on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing charredlot/cryptopals-rust [INFO] finished frobbing charredlot/cryptopals-rust [INFO] frobbed toml for charredlot/cryptopals-rust written to work/ex/beta-1.37-6/sources/1.36.0/gh/charredlot/cryptopals-rust/Cargo.toml [INFO] started frobbing charredlot/cryptopals-rust [INFO] finished frobbing charredlot/cryptopals-rust [INFO] frobbed toml for charredlot/cryptopals-rust written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/charredlot/cryptopals-rust/Cargo.toml [INFO] crate charredlot/cryptopals-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing charredlot/cryptopals-rust against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/charredlot/cryptopals-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 598f64b0614c01782129c6378677da4c37986ab1f84efd7eec2ead85abe049d7 [INFO] running `"docker" "start" "-a" "598f64b0614c01782129c6378677da4c37986ab1f84efd7eec2ead85abe049d7"` [INFO] [stderr] Compiling rust-gmp v0.5.0 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/aes/cbc_test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/base64.rs:94:16 [INFO] [stderr] | [INFO] [stderr] 94 | UPPER_A...UPPER_Z => c - UPPER_A, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/base64.rs:95:16 [INFO] [stderr] | [INFO] [stderr] 95 | LOWER_A...LOWER_Z => (c - LOWER_A) + 26, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/base64.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | DIGIT_0...DIGIT_9 => (c - DIGIT_0) + 52, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/sha1.rs:231:18 [INFO] [stderr] | [INFO] [stderr] 231 | 0...19 => (ff(b, c, d), 0x5a827999), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/sha1.rs:232:19 [INFO] [stderr] | [INFO] [stderr] 232 | 20...39 => (gg(b, c, d), 0x6ed9eba1), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/sha1.rs:233:19 [INFO] [stderr] | [INFO] [stderr] 233 | 40...59 => (hh(b, c, d), 0x8f1bbcdc), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/sha1.rs:234:19 [INFO] [stderr] | [INFO] [stderr] 234 | 60...79 => (ii(b, c, d), 0xca62c1d6), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ssv.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn ssv_aes_encrypt(cipher: &AESCipher, plaintext: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn AESCipher` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ssv.rs:17:33 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn ssv_aes_decrypt(cipher: &AESCipher, ciphertext: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn AESCipher` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ssv.rs:22:43 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn ssv_aes_decrypt_and_check(cipher: &AESCipher, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn AESCipher` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/url.rs:57:33 [INFO] [stderr] | [INFO] [stderr] 57 | fn encrypt_profile_for(cipher: &AESCipher, email: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn AESCipher` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/url.rs:61:33 [INFO] [stderr] | [INFO] [stderr] 61 | fn decrypt_profile_for(cipher: &AESCipher, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn AESCipher` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/url.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | fn trick_url_decode(cipher: &AESCipher) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn AESCipher` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | pub type EncryptOracle = Fn (&[u8]) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&[u8]) -> Vec` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | pub type DecryptOracle = Fn (&[u8]) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&[u8]) -> Vec` [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686.cryptopals.169ph5n7-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686.cryptopals.169ph5n7-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686.cryptopals.169ph5n7-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686.cryptopals.169ph5n7-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686.cryptopals.169ph5n7-cgu.4.rcgu.o" "-o" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686" "/opt/crater/target/debug/deps/cryptopals-da5fd4bf028b7686.5dftzs5e5wp2rye1.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libcryptopals-71ccb030a2a16322.rlib" "/opt/crater/target/debug/deps/libsha2-cc67dc1d0b5529be.rlib" "/opt/crater/target/debug/deps/libfake_simd-7c0a92f4d5c361f0.rlib" "/opt/crater/target/debug/deps/libblock_buffer-e2637edbab1c7505.rlib" "/opt/crater/target/debug/deps/libdigest-a5c4c74046833ffc.rlib" "/opt/crater/target/debug/deps/libbyte_tools-4bd6b787bd09cd4a.rlib" "/opt/crater/target/debug/deps/libgeneric_array-d82055098a28b8b3.rlib" "/opt/crater/target/debug/deps/libnodrop-680d75f34cf5c2e6.rlib" "/opt/crater/target/debug/deps/libodds-7343fc67c64ba327.rlib" "/opt/crater/target/debug/deps/libtypenum-269dfc1e0fe7b61a.rlib" "/opt/crater/target/debug/deps/libgmp-0e33a0f8c57dcc4f.rlib" "/opt/crater/target/debug/deps/libnum_traits-986fce5007c03c4b.rlib" "/opt/crater/target/debug/deps/librand-24e421dbe0af783c.rlib" "/opt/crater/target/debug/deps/liblibc-16d04da72c8d8209.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a80a1e8e09cafef8.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e0e6351da805c468.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e04f54bafc95e331.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-67901d3322495bd5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-bd390b1abaceaec1.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-312dd37fdc7bedfc.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8ed0e51d58d644a3.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-8a423c320a6c707f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d6a95598e2238263.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d231614b153016eb.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3821619027f463e4.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1cfd794d18771a44.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-dcf33cf10c2452ef.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-c258fea34bf64bce.rlib" "-Wl,-Bdynamic" "-lgmp" "-lgmp" "-lgmp" "-lgmp" "-lgmp" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lgmp [INFO] [stderr] /usr/bin/ld: cannot find -lgmp [INFO] [stderr] /usr/bin/ld: cannot find -lgmp [INFO] [stderr] /usr/bin/ld: cannot find -lgmp [INFO] [stderr] /usr/bin/ld: cannot find -lgmp [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `cryptopals`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "598f64b0614c01782129c6378677da4c37986ab1f84efd7eec2ead85abe049d7"` [INFO] running `"docker" "rm" "-f" "598f64b0614c01782129c6378677da4c37986ab1f84efd7eec2ead85abe049d7"` [INFO] [stdout] 598f64b0614c01782129c6378677da4c37986ab1f84efd7eec2ead85abe049d7