[INFO] cloning repository https://github.com/CKalt/gp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CKalt/gp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCKalt%2Fgp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCKalt%2Fgp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 878592f13aac2dac57963c9d1323a61c6d0e50f0 [INFO] testing CKalt/gp against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCKalt%2Fgp" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CKalt/gp on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/CKalt/gp [INFO] finished tweaking git repo https://github.com/CKalt/gp [INFO] tweaked toml for git repo https://github.com/CKalt/gp written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/CKalt/gp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_format v0.2.14 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.14 [INFO] [stderr] Downloaded sscanf v0.1.2 [INFO] [stderr] Downloaded sscanf_macro v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 530e282ccd651ba5bffd4ab3192af69c4c30652f7efbb4b956825b55bf377a9d [INFO] running `Command { std: "docker" "start" "-a" "530e282ccd651ba5bffd4ab3192af69c4c30652f7efbb4b956825b55bf377a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530e282ccd651ba5bffd4ab3192af69c4c30652f7efbb4b956825b55bf377a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530e282ccd651ba5bffd4ab3192af69c4c30652f7efbb4b956825b55bf377a9d", kill_on_drop: false }` [INFO] [stdout] 530e282ccd651ba5bffd4ab3192af69c4c30652f7efbb4b956825b55bf377a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5f351e70e47a312b0f4df35b2f88767f3ea75a158cd2f8dd92a17806eedc472 [INFO] running `Command { std: "docker" "start" "-a" "f5f351e70e47a312b0f4df35b2f88767f3ea75a158cd2f8dd92a17806eedc472", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling const_format_proc_macros v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling const_format v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling sscanf_macro v0.1.2 [INFO] [stderr] Compiling sscanf v0.1.2 [INFO] [stderr] Compiling gp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::gprng::GpRng` [INFO] [stdout] --> src/tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::gprng::GpRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `GpRng` in `gprng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gprng::GpRng` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use gprng::GpRng; [INFO] [stdout] | ^^^^^^^^^^^^ no `GpRng` in `gprng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GpFitness` in this scope [INFO] [stdout] --> src/tree.rs:613:14 [INFO] [stdout] | [INFO] [stdout] 613 | pub nfr: GpFitness, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GpFitness` in this scope [INFO] [stdout] --> src/tree.rs:614:14 [INFO] [stdout] | [INFO] [stdout] 614 | pub n: GpFitness, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GpFitness` in this scope [INFO] [stdout] --> src/tree.rs:615:14 [INFO] [stdout] | [INFO] [stdout] 615 | pub a: GpFitness, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GpFitness` in this scope [INFO] [stdout] --> src/tree.rs:616:14 [INFO] [stdout] | [INFO] [stdout] 616 | pub raw: GpFitness, // note that if run Fitness uses integer type [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::Tree` [INFO] [stdout] --> src/gprun.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tree::Tree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::GpFloat` [INFO] [stdout] --> src/gprun.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tree::GpFloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tree::GpHits` [INFO] [stdout] --> src/gprun.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::tree::GpHits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `assign_nfr_rankings` found for mutable reference `&mut tree::TreeSet` in the current scope [INFO] [stdout] --> src/tree.rs:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | self.assign_nfr_rankings() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut tree::TreeSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compute_fitness` found for struct `gprun::RunContext` in the current scope [INFO] [stdout] --> src/tree.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 436 | if rc.compute_fitness(tree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `gprun::RunContext` [INFO] [stdout] | [INFO] [stdout] ::: src/gprun.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct RunContext { [INFO] [stdout] | --------------------- method `compute_fitness` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:706:31 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct Fitness { [INFO] [stdout] | ------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 706 | fitness: Fitness::new(), [INFO] [stdout] | ^^^ function or associated item not found in `Fitness` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:719:31 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct Fitness { [INFO] [stdout] | ------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 719 | fitness: Fitness::new(), [INFO] [stdout] | ^^^ function or associated item not found in `Fitness` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compute_fitness` found for struct `gprun::RunContext` in the current scope [INFO] [stdout] --> src/tree.rs:815:15 [INFO] [stdout] | [INFO] [stdout] 815 | if rc.compute_fitness(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `gprun::RunContext` [INFO] [stdout] | [INFO] [stdout] ::: src/gprun.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct RunContext { [INFO] [stdout] | --------------------- method `compute_fitness` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `a` found for reference `&Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:825:67 [INFO] [stdout] | [INFO] [stdout] 825 | gen, tfid, self.tcid, self.hits, f.r, f.s, f.a(), f.n(), f.nfr(), avg_raw_f); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `n` found for reference `&Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:825:74 [INFO] [stdout] | [INFO] [stdout] 825 | gen, tfid, self.tcid, self.hits, f.r, f.s, f.a(), f.n(), f.nfr(), avg_raw_f); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nfr` found for reference `&Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:825:81 [INFO] [stdout] | [INFO] [stdout] 825 | gen, tfid, self.tcid, self.hits, f.r, f.s, f.a(), f.n(), f.nfr(), avg_raw_f); [INFO] [stdout] | ^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `a` found for reference `&Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:828:61 [INFO] [stdout] | [INFO] [stdout] 828 | tfid, self.tcid, self.hits, f.r, f.s, f.a(), f.n(), f.nfr(), avg_raw_f); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `n` found for reference `&Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:828:68 [INFO] [stdout] | [INFO] [stdout] 828 | tfid, self.tcid, self.hits, f.r, f.s, f.a(), f.n(), f.nfr(), avg_raw_f); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nfr` found for reference `&Fitness` in the current scope [INFO] [stdout] --> src/tree.rs:828:75 [INFO] [stdout] | [INFO] [stdout] 828 | tfid, self.tcid, self.hits, f.r, f.s, f.a(), f.n(), f.nfr(), avg_raw_f); [INFO] [stdout] | ^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compute_normalized_fitness` found for struct `tree::TreeSet` in the current scope [INFO] [stdout] --> src/main.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | trees.compute_normalized_fitness() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `sort_by_normalized_fitness` [INFO] [stdout] | [INFO] [stdout] ::: src/tree.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct TreeSet { [INFO] [stdout] | ------------------ method `compute_normalized_fitness` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `select_tree` found for struct `tree::TreeSet` in the current scope [INFO] [stdout] --> src/main.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | let mut t = trees.select_tree(rng).clone(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `tree::TreeSet` [INFO] [stdout] | [INFO] [stdout] ::: src/tree.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct TreeSet { [INFO] [stdout] | ------------------ method `select_tree` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `select_tree` found for struct `tree::TreeSet` in the current scope [INFO] [stdout] --> src/main.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | let t1 = trees.select_tree(rng); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `tree::TreeSet` [INFO] [stdout] | [INFO] [stdout] ::: src/tree.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct TreeSet { [INFO] [stdout] | ------------------ method `select_tree` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `select_tree` found for struct `tree::TreeSet` in the current scope [INFO] [stdout] --> src/main.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | let t2 = trees.select_tree(rng); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `tree::TreeSet` [INFO] [stdout] | [INFO] [stdout] ::: src/tree.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct TreeSet { [INFO] [stdout] | ------------------ method `select_tree` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `GpRngFactory` in the current scope [INFO] [stdout] --> src/main.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | let mut rng = GpRngFactory::new(); [INFO] [stdout] | ^^^ function or associated item not found in `GpRngFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/gprng.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct GpRngFactory { [INFO] [stdout] | ----------------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gp` due to 23 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5f351e70e47a312b0f4df35b2f88767f3ea75a158cd2f8dd92a17806eedc472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f351e70e47a312b0f4df35b2f88767f3ea75a158cd2f8dd92a17806eedc472", kill_on_drop: false }` [INFO] [stdout] f5f351e70e47a312b0f4df35b2f88767f3ea75a158cd2f8dd92a17806eedc472