[INFO] cloning repository https://github.com/trolleyman/kmeans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trolleyman/kmeans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2Fkmeans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2Fkmeans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4f71813cb15ed761c43cdd83feb74ca39e8611 [INFO] testing trolleyman/kmeans against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2Fkmeans" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trolleyman/kmeans on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trolleyman/kmeans [INFO] finished tweaking git repo https://github.com/trolleyman/kmeans [INFO] tweaked toml for git repo https://github.com/trolleyman/kmeans written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/trolleyman/kmeans already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f285aaa9851dc266e2853711824370a19eb2200209ea478de3a098393740862c [INFO] running `Command { std: "docker" "start" "-a" "f285aaa9851dc266e2853711824370a19eb2200209ea478de3a098393740862c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f285aaa9851dc266e2853711824370a19eb2200209ea478de3a098393740862c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f285aaa9851dc266e2853711824370a19eb2200209ea478de3a098393740862c", kill_on_drop: false }` [INFO] [stdout] f285aaa9851dc266e2853711824370a19eb2200209ea478de3a098393740862c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63bc66099570a9dabc67dde3e0b8a882b0520a0c8189896d3980faef6ed782bb [INFO] running `Command { std: "docker" "start" "-a" "63bc66099570a9dabc67dde3e0b8a882b0520a0c8189896d3980faef6ed782bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling palette v0.4.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling palette_derive v0.4.1 [INFO] [stderr] Compiling kmeans v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.13s [INFO] running `Command { std: "docker" "inspect" "63bc66099570a9dabc67dde3e0b8a882b0520a0c8189896d3980faef6ed782bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63bc66099570a9dabc67dde3e0b8a882b0520a0c8189896d3980faef6ed782bb", kill_on_drop: false }` [INFO] [stdout] 63bc66099570a9dabc67dde3e0b8a882b0520a0c8189896d3980faef6ed782bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4feba510c745f0c547cb19c81a558d93be1a6dd7a876048043d279a032d83737 [INFO] running `Command { std: "docker" "start" "-a" "4feba510c745f0c547cb19c81a558d93be1a6dd7a876048043d279a032d83737", kill_on_drop: false }` [INFO] [stderr] Compiling kmeans v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `kmeans` in this scope [INFO] [stdout] --> src/kmeans.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | let (means, data, loss) = kmeans(&ps, 3); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 196 | use kmeans::kmeans; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/kmeans.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | rand::thread_rng().gen_range(min, max) [INFO] [stdout] | ^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.4.6/src/lib.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 524 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 196 | use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kmeans` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4feba510c745f0c547cb19c81a558d93be1a6dd7a876048043d279a032d83737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4feba510c745f0c547cb19c81a558d93be1a6dd7a876048043d279a032d83737", kill_on_drop: false }` [INFO] [stdout] 4feba510c745f0c547cb19c81a558d93be1a6dd7a876048043d279a032d83737