[INFO] fetching crate pwrs 1.1.0... [INFO] checking pwrs-1.1.0 against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] extracting crate pwrs 1.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pwrs 1.1.0 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9eca05688bbc94c4007640f6b69683a2ef72c4296eecd8c61bc43e10594d989d [INFO] running `"docker" "start" "-a" "9eca05688bbc94c4007640f6b69683a2ef72c4296eecd8c61bc43e10594d989d"` [INFO] [stderr] Checking pwrs v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stderr] --> src/main.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | rand::sample(&mut rng, words.iter(), cfg.number) [INFO] [stderr] | ^^^^^^ not found in `rand` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | let mut dict = try!(File::open(&cfg.filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | try!(dict.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:130:14 [INFO] [stderr] | [INFO] [stderr] 130 | for _ in (0..cfg.count) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stderr] --> src/main.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | rand::sample(&mut rng, words.iter(), cfg.number) [INFO] [stderr] | ^^^^^^ not found in `rand` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | let mut dict = try!(File::open(&cfg.filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | try!(dict.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:130:14 [INFO] [stderr] | [INFO] [stderr] 130 | for _ in (0..cfg.count) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | let out = inter.connect(" "); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | let out = inter.connect(" "); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `pwrs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `pwrs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9eca05688bbc94c4007640f6b69683a2ef72c4296eecd8c61bc43e10594d989d"` [INFO] running `"docker" "rm" "-f" "9eca05688bbc94c4007640f6b69683a2ef72c4296eecd8c61bc43e10594d989d"` [INFO] [stdout] 9eca05688bbc94c4007640f6b69683a2ef72c4296eecd8c61bc43e10594d989d