[INFO] fetching crate pwrs 1.1.0... [INFO] checking pwrs-1.1.0 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate pwrs 1.1.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate pwrs 1.1.0 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pwrs 1.1.0 [INFO] finished tweaking crates.io crate pwrs 1.1.0 [INFO] tweaked toml for crates.io crate pwrs 1.1.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54dcb60ca4d8c8a05cee3a1c0bea39c142fbeab5338776757b591f1139259bc4 [INFO] running `Command { std: "docker" "start" "-a" "54dcb60ca4d8c8a05cee3a1c0bea39c142fbeab5338776757b591f1139259bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54dcb60ca4d8c8a05cee3a1c0bea39c142fbeab5338776757b591f1139259bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54dcb60ca4d8c8a05cee3a1c0bea39c142fbeab5338776757b591f1139259bc4", kill_on_drop: false }` [INFO] [stdout] 54dcb60ca4d8c8a05cee3a1c0bea39c142fbeab5338776757b591f1139259bc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e619e413529fc56a8bd0f28fb4d5dd60d3fa827df86a638f7cba65dd5a4fd92 [INFO] running `Command { std: "docker" "start" "-a" "6e619e413529fc56a8bd0f28fb4d5dd60d3fa827df86a638f7cba65dd5a4fd92", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking pwrs v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stdout] --> src/main.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | rand::sample(&mut rng, words.iter(), cfg.number) [INFO] [stdout] | ^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use rand::seq::index::sample; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let mut dict = try!(File::open(&cfg.filename)); [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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(dict.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | for _ in (0..cfg.count) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stdout] --> src/main.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | rand::sample(&mut rng, words.iter(), cfg.number) [INFO] [stdout] | ^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use rand::seq::index::sample; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let mut dict = try!(File::open(&cfg.filename)); [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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(dict.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | for _ in (0..cfg.count) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | let out = inter.connect(" "); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pwrs` [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] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | let out = inter.connect(" "); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6e619e413529fc56a8bd0f28fb4d5dd60d3fa827df86a638f7cba65dd5a4fd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e619e413529fc56a8bd0f28fb4d5dd60d3fa827df86a638f7cba65dd5a4fd92", kill_on_drop: false }` [INFO] [stdout] 6e619e413529fc56a8bd0f28fb4d5dd60d3fa827df86a638f7cba65dd5a4fd92