[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2Fkmeans" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 5% (13/240) Checking out files: 6% (15/240) Checking out files: 7% (17/240) Checking out files: 8% (20/240) Checking out files: 9% (22/240) Checking out files: 10% (24/240) Checking out files: 11% (27/240) Checking out files: 11% (28/240) Checking out files: 12% (29/240) Checking out files: 13% (32/240) Checking out files: 14% (34/240) Checking out files: 15% (36/240) Checking out files: 16% (39/240) Checking out files: 17% (41/240) Checking out files: 18% (44/240) Checking out files: 19% (46/240) Checking out files: 20% (48/240) Checking out files: 21% (51/240) Checking out files: 22% (53/240) Checking out files: 23% (56/240) Checking out files: 24% (58/240) Checking out files: 25% (60/240) Checking out files: 26% (63/240) Checking out files: 27% (65/240) Checking out files: 28% (68/240) Checking out files: 29% (70/240) Checking out files: 30% (72/240) Checking out files: 31% (75/240) Checking out files: 32% (77/240) Checking out files: 33% (80/240) Checking out files: 34% (82/240) Checking out files: 35% (84/240) Checking out files: 36% (87/240) Checking out files: 37% (89/240) Checking out files: 38% (92/240) Checking out files: 39% (94/240) Checking out files: 40% (96/240) Checking out files: 41% (99/240) Checking out files: 42% (101/240) Checking out files: 43% (104/240) Checking out files: 44% (106/240) Checking out files: 45% (108/240) Checking out files: 46% (111/240) Checking out files: 47% (113/240) Checking out files: 48% (116/240) Checking out files: 49% (118/240) Checking out files: 50% (120/240) Checking out files: 51% (123/240) Checking out files: 52% (125/240) Checking out files: 53% (128/240) Checking out files: 54% (130/240) Checking out files: 55% (132/240) Checking out files: 56% (135/240) Checking out files: 57% (137/240) Checking out files: 58% (140/240) Checking out files: 59% (142/240) Checking out files: 60% (144/240) Checking out files: 61% (147/240) Checking out files: 62% (149/240) Checking out files: 63% (152/240) Checking out files: 64% (154/240) Checking out files: 65% (156/240) Checking out files: 66% (159/240) Checking out files: 67% (161/240) Checking out files: 68% (164/240) Checking out files: 69% (166/240) Checking out files: 70% (168/240) Checking out files: 71% (171/240) Checking out files: 72% (173/240) Checking out files: 73% (176/240) Checking out files: 74% (178/240) Checking out files: 75% (180/240) Checking out files: 76% (183/240) Checking out files: 77% (185/240) Checking out files: 78% (188/240) Checking out files: 79% (190/240) Checking out files: 80% (192/240) Checking out files: 81% (195/240) Checking out files: 82% (197/240) Checking out files: 83% (200/240) Checking out files: 84% (202/240) Checking out files: 85% (204/240) Checking out files: 86% (207/240) Checking out files: 87% (209/240) Checking out files: 88% (212/240) Checking out files: 89% (214/240) Checking out files: 90% (216/240) Checking out files: 91% (219/240) Checking out files: 92% (221/240) Checking out files: 93% (224/240) Checking out files: 94% (226/240) Checking out files: 95% (228/240) Checking out files: 96% (231/240) Checking out files: 97% (233/240) Checking out files: 98% (236/240) Checking out files: 99% (238/240) Checking out files: 100% (240/240) Checking out files: 100% (240/240), done. [INFO] validating manifest of git repo https://github.com/trolleyman/kmeans on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1f3e63f5c5bee57f5a56d7a2cb131d9864d0141d269cac9fa2e959956cc9544 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a1f3e63f5c5bee57f5a56d7a2cb131d9864d0141d269cac9fa2e959956cc9544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1f3e63f5c5bee57f5a56d7a2cb131d9864d0141d269cac9fa2e959956cc9544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f3e63f5c5bee57f5a56d7a2cb131d9864d0141d269cac9fa2e959956cc9544", kill_on_drop: false }` [INFO] [stdout] a1f3e63f5c5bee57f5a56d7a2cb131d9864d0141d269cac9fa2e959956cc9544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1d0304f6a663eadb2dfef9dcd2d7ef1c4f2db9fdd8ef7db98345e34aba37d451 [INFO] running `Command { std: "docker" "start" "-a" "1d0304f6a663eadb2dfef9dcd2d7ef1c4f2db9fdd8ef7db98345e34aba37d451", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-rational v0.1.42 [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 55.70s [INFO] running `Command { std: "docker" "inspect" "1d0304f6a663eadb2dfef9dcd2d7ef1c4f2db9fdd8ef7db98345e34aba37d451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0304f6a663eadb2dfef9dcd2d7ef1c4f2db9fdd8ef7db98345e34aba37d451", kill_on_drop: false }` [INFO] [stdout] 1d0304f6a663eadb2dfef9dcd2d7ef1c4f2db9fdd8ef7db98345e34aba37d451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96409c28718025740c321b110ee60035e1943063c21369b2f5c7b3bdc7570e38 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "96409c28718025740c321b110ee60035e1943063c21369b2f5c7b3bdc7570e38", 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 `rand::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 `rand::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 `std::boxed::Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::Rng;` [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "96409c28718025740c321b110ee60035e1943063c21369b2f5c7b3bdc7570e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96409c28718025740c321b110ee60035e1943063c21369b2f5c7b3bdc7570e38", kill_on_drop: false }` [INFO] [stdout] 96409c28718025740c321b110ee60035e1943063c21369b2f5c7b3bdc7570e38