[INFO] cloning repository https://github.com/selareid/rust_feed_forward_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/selareid/rust_feed_forward_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselareid%2Frust_feed_forward_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselareid%2Frust_feed_forward_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4ee7f4818f0c6e136e81f3fb381cde8a9bf0d39 [INFO] testing selareid/rust_feed_forward_network against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselareid%2Frust_feed_forward_network" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/selareid/rust_feed_forward_network 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] started tweaking git repo https://github.com/selareid/rust_feed_forward_network [INFO] finished tweaking git repo https://github.com/selareid/rust_feed_forward_network [INFO] tweaked toml for git repo https://github.com/selareid/rust_feed_forward_network written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/selareid/rust_feed_forward_network 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] 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-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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] 0bda1bcf5605da7d090a8dd985a74f2d39904187c9b39438041bca0f27d4cbf9 [INFO] running `Command { std: "docker" "start" "-a" "0bda1bcf5605da7d090a8dd985a74f2d39904187c9b39438041bca0f27d4cbf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bda1bcf5605da7d090a8dd985a74f2d39904187c9b39438041bca0f27d4cbf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bda1bcf5605da7d090a8dd985a74f2d39904187c9b39438041bca0f27d4cbf9", kill_on_drop: false }` [INFO] [stdout] 0bda1bcf5605da7d090a8dd985a74f2d39904187c9b39438041bca0f27d4cbf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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] 95c1786c53bdb52128ecf2f70d71d42545dc7525dfa424cd3c175800c292034d [INFO] running `Command { std: "docker" "start" "-a" "95c1786c53bdb52128ecf2f70d71d42545dc7525dfa424cd3c175800c292034d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_feed_forward_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `feed_forward` in the crate root [INFO] [stdout] --> src/calculator/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::feed_forward::calculator::connection::Connection; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `feed_forward` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `feed_forward` in the crate root [INFO] [stdout] --> src/calculator/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::feed_forward::calculator::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `feed_forward` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `feed_forward` in the crate root [INFO] [stdout] --> src/calculator/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::feed_forward::connection_gene::ConnectionGene; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `feed_forward` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `feed_forward` in the crate root [INFO] [stdout] --> src/calculator/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::feed_forward::gene::Gene; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `feed_forward` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `feed_forward` in the crate root [INFO] [stdout] --> src/calculator/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::feed_forward::genome::Genome; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `feed_forward` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::random_hash_set` [INFO] [stdout] --> src/calculator/node.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::random_hash_set::RandomHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `random_hash_set` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | input_nodes: Vec>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | output_nodes: Vec>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | hidden_nodes: Vec>>, //order of these can change [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genome` in this scope [INFO] [stdout] --> src/calculator/mod.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_from_ref(genome_ref: Rc>, activation_function: F) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::genome::Genome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genome` in this scope [INFO] [stdout] --> src/calculator/mod.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let genome: Ref = genome_ref.borrow(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::genome::Genome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genome` in this scope [INFO] [stdout] --> src/calculator/mod.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(genome: &Genome, activation_function: F) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::genome::Genome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genome` in this scope [INFO] [stdout] --> src/calculator/mod.rs:51:58 [INFO] [stdout] | [INFO] [stdout] 51 | fn add_genome_data_to_calculator(&mut self, genome: &Genome) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::genome::Genome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:52:71 [INFO] [stdout] | [INFO] [stdout] 52 | ... let mut node_innovation_num_to_ref: HashMap>> = HashMap::new(); //so that the same nodes are the same (not ... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let node: Rc> = Node::new_node_ref_with_refcell_from_x(genome_node.get_x()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/calculator/mod.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | let node: Rc> = Node::new_node_ref_with_refcell_from_x(genome_node.get_x()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:72:109 [INFO] [stdout] | [INFO] [stdout] 72 | ...ation_num_to_ref_map: &mut HashMap>>, connection_gene: &ConnectionGene) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionGene` in this scope [INFO] [stdout] --> src/calculator/mod.rs:72:136 [INFO] [stdout] | [INFO] [stdout] 72 | ...ap>>, connection_gene: &ConnectionGene) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection_gene::ConnectionGene; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/calculator/mod.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let new_connection: Connection = Connection::new(connection_gene.weight, from_node); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::connection::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connection` [INFO] [stdout] --> src/calculator/mod.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | let new_connection: Connection = Connection::new(connection_gene.weight, from_node); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::connection::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | fn add_node_to_calculator(&mut self, node_ref: Rc>, innovation_number: usize) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:92:82 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_node_vector_from_x_mut(&mut self, node_x: f64) -> &mut Vec>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:102:74 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_node_vector_from_x(&mut self, node_x: f64) -> &Vec>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | let node: &mut Node = &mut self.input_nodes[*node_position].borrow_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let node: &mut Node = &mut self.hidden_nodes[node_i].borrow_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | let node_rc: &Rc> = &self.output_nodes[*node_position]; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:160:98 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_node_refs_from_connection_gene(node_innovation_num_to_ref: &mut HashMap>>, connection_gene: &&ConnectionGe... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionGene` in this scope [INFO] [stdout] --> src/calculator/mod.rs:160:126 [INFO] [stdout] | [INFO] [stdout] 160 | ...p>>, connection_gene: &&ConnectionGene) -> (Rc>, Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection_gene::ConnectionGene; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:160:157 [INFO] [stdout] | [INFO] [stdout] 160 | ...>, connection_gene: &&ConnectionGene) -> (Rc>, Rc>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:160:176 [INFO] [stdout] | [INFO] [stdout] 160 | ... &&ConnectionGene) -> (Rc>, Rc>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | let from_node: Rc> = match node_innovation_num_to_ref.get(&connection_gene.from.get_innovation_number()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/calculator/mod.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | let to_node: Rc> = match node_innovation_num_to_ref.get(&connection_gene.to.get_innovation_number()) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::calculator::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_feed_forward_network` due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "95c1786c53bdb52128ecf2f70d71d42545dc7525dfa424cd3c175800c292034d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c1786c53bdb52128ecf2f70d71d42545dc7525dfa424cd3c175800c292034d", kill_on_drop: false }` [INFO] [stdout] 95c1786c53bdb52128ecf2f70d71d42545dc7525dfa424cd3c175800c292034d