[INFO] updating cached repository pop-os/buildchain [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/pop-os/buildchain [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/pop-os/buildchain" "work/ex/beta-1.38-1/sources/1.37.0/gh/pop-os/buildchain"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/pop-os/buildchain'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/pop-os/buildchain" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pop-os/buildchain"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pop-os/buildchain'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 097d09f2956284ad3d66979480d4eed37f3d6b9a [INFO] sha for GitHub repo pop-os/buildchain: 097d09f2956284ad3d66979480d4eed37f3d6b9a [INFO] validating manifest of pop-os/buildchain on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of pop-os/buildchain on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing pop-os/buildchain [INFO] finished frobbing pop-os/buildchain [INFO] frobbed toml for pop-os/buildchain written to work/ex/beta-1.38-1/sources/1.37.0/gh/pop-os/buildchain/Cargo.toml [INFO] started frobbing pop-os/buildchain [INFO] finished frobbing pop-os/buildchain [INFO] frobbed toml for pop-os/buildchain written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pop-os/buildchain/Cargo.toml [INFO] crate pop-os/buildchain already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/pop-os/buildchain/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing pop-os/buildchain against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pop-os/buildchain:/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-08-13" "build" "--frozen"` [INFO] [stdout] f970cf2a7731a4ef7820c8eb890dff9808654816738c9e7e8f2fda8798b4a471 [INFO] running `"docker" "start" "-a" "f970cf2a7731a4ef7820c8eb890dff9808654816738c9e7e8f2fda8798b4a471"` [INFO] [stderr] Compiling index-fixed v0.3.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling lxd v0.1.8 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling sodalite v0.3.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling buildchain v0.4.9 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `digest` [INFO] [stderr] --> src/download.rs:122:20 [INFO] [stderr] | [INFO] [stderr] 122 | for (file, digest) in manifest.files.iter() { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_digest` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `signature` [INFO] [stderr] --> src/block.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | signature: [u8; 64], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `public_key` [INFO] [stderr] --> src/block.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | public_key: [u8; 32], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `previous_signature` [INFO] [stderr] --> src/block.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | previous_signature: [u8; 64], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `counter` [INFO] [stderr] --> src/block.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | counter: [u8; 8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `timestamp` [INFO] [stderr] --> src/block.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | timestamp: [u8; 8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/store.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | create_dir_if_needed(&pb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/store.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | create_dir_if_needed(&pb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.16s [INFO] running `"docker" "inspect" "f970cf2a7731a4ef7820c8eb890dff9808654816738c9e7e8f2fda8798b4a471"` [INFO] running `"docker" "rm" "-f" "f970cf2a7731a4ef7820c8eb890dff9808654816738c9e7e8f2fda8798b4a471"` [INFO] [stdout] f970cf2a7731a4ef7820c8eb890dff9808654816738c9e7e8f2fda8798b4a471 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/pop-os/buildchain:/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-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] fe9071c02915e30c9d209d09ef8567b8c542452c40bf8d1791f8c877432fb891 [INFO] running `"docker" "start" "-a" "fe9071c02915e30c9d209d09ef8567b8c542452c40bf8d1791f8c877432fb891"` [INFO] [stderr] Compiling buildchain v0.4.9 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/store.rs:254:16 [INFO] [stderr] | [INFO] [stderr] 254 | use rand::{Rng, OsRng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::OsRng': import with rand::rngs::OsRng instead [INFO] [stderr] --> src/store.rs:254:21 [INFO] [stderr] | [INFO] [stderr] 254 | use rand::{Rng, OsRng}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::OsRng': import with rand::rngs::OsRng instead [INFO] [stderr] --> src/store.rs:317:27 [INFO] [stderr] | [INFO] [stderr] 317 | let mut rng = OsRng::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::OsRng': import with rand::rngs::OsRng instead [INFO] [stderr] --> src/store.rs:361:27 [INFO] [stderr] | [INFO] [stderr] 361 | let mut rng = OsRng::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::OsRng': import with rand::rngs::OsRng instead [INFO] [stderr] --> src/store.rs:395:27 [INFO] [stderr] | [INFO] [stderr] 395 | let mut rng = OsRng::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::OsRng': import with rand::rngs::OsRng instead [INFO] [stderr] --> src/store.rs:431:27 [INFO] [stderr] | [INFO] [stderr] 431 | let mut rng = OsRng::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fill_bytes` found for type `rand::OsRng` in the current scope [INFO] [stderr] --> src/store.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | rng.fill_bytes(&mut content); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use rand::RngCore;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fill_bytes` found for type `rand::OsRng` in the current scope [INFO] [stderr] --> src/store.rs:362:17 [INFO] [stderr] | [INFO] [stderr] 362 | rng.fill_bytes(&mut content); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use rand::RngCore;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fill_bytes` found for type `rand::OsRng` in the current scope [INFO] [stderr] --> src/store.rs:396:17 [INFO] [stderr] | [INFO] [stderr] 396 | rng.fill_bytes(&mut block); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use rand::RngCore;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fill_bytes` found for type `rand::OsRng` in the current scope [INFO] [stderr] --> src/store.rs:432:17 [INFO] [stderr] | [INFO] [stderr] 432 | rng.fill_bytes(&mut block); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use rand::RngCore;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `buildchain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fe9071c02915e30c9d209d09ef8567b8c542452c40bf8d1791f8c877432fb891"` [INFO] running `"docker" "rm" "-f" "fe9071c02915e30c9d209d09ef8567b8c542452c40bf8d1791f8c877432fb891"` [INFO] [stdout] fe9071c02915e30c9d209d09ef8567b8c542452c40bf8d1791f8c877432fb891