[INFO] cloning repository https://github.com/hamptonmoore/bird_route_collector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamptonmoore/bird_route_collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamptonmoore%2Fbird_route_collector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamptonmoore%2Fbird_route_collector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87adf521d9a1c495678df744dbef054508dbb046 [INFO] checking hamptonmoore/bird_route_collector against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamptonmoore%2Fbird_route_collector" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamptonmoore/bird_route_collector on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamptonmoore/bird_route_collector [INFO] finished tweaking git repo https://github.com/hamptonmoore/bird_route_collector [INFO] tweaked toml for git repo https://github.com/hamptonmoore/bird_route_collector written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/hamptonmoore/bird_route_collector already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", 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] fcccc835083bd696c1572fa8423ccea5b41b2e0c6d1b100e90d72291ebc7ab48 [INFO] running `Command { std: "docker" "start" "-a" "fcccc835083bd696c1572fa8423ccea5b41b2e0c6d1b100e90d72291ebc7ab48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcccc835083bd696c1572fa8423ccea5b41b2e0c6d1b100e90d72291ebc7ab48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcccc835083bd696c1572fa8423ccea5b41b2e0c6d1b100e90d72291ebc7ab48", kill_on_drop: false }` [INFO] [stdout] fcccc835083bd696c1572fa8423ccea5b41b2e0c6d1b100e90d72291ebc7ab48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dca8e9c72a7fb91b152d2277ac837c0c4d4776b7d39ec7bf38a6bea55eea65d1 [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" "dca8e9c72a7fb91b152d2277ac837c0c4d4776b7d39ec7bf38a6bea55eea65d1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking bird_path_collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | let mut location: &mut AutonomousNetwork = &mut route_table; [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^ expected struct `AutonomousNetwork`, found struct `HashMap` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AutonomousNetwork` [INFO] [stdout] found mutable reference `&mut HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | if !location.children.contains_key(asn) { [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | location.children.insert(asn.to_string(), AutonomousNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | ... children: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Vec`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | let mut location: &mut AutonomousNetwork = &mut route_table; [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^ expected struct `AutonomousNetwork`, found struct `HashMap` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut AutonomousNetwork` [INFO] [stdout] found mutable reference `&mut HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:66 [INFO] [stdout] | [INFO] [stdout] 60 | location.children.insert(asn.to_string(), AutonomousNetwork { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 61 | | asn: asn.to_string(), [INFO] [stdout] 62 | | routes: vec![], [INFO] [stdout] 63 | | children: HashMap::new() [INFO] [stdout] 64 | | }); [INFO] [stdout] | |________________________^ expected struct `std::string::String`, found struct `AutonomousNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[std::string::String]` cannot be indexed by `&str` [INFO] [stdout] --> src/main.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | location = location.children.get_mut(asn).unwrap(); [INFO] [stdout] | ^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[std::string::String]>` is not implemented for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bird_path_collector` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `contains_key` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | if !location.children.contains_key(asn) { [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | location.children.insert(asn.to_string(), AutonomousNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | ... children: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Vec`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:66 [INFO] [stdout] | [INFO] [stdout] 60 | location.children.insert(asn.to_string(), AutonomousNetwork { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 61 | | asn: asn.to_string(), [INFO] [stdout] 62 | | routes: vec![], [INFO] [stdout] 63 | | children: HashMap::new() [INFO] [stdout] 64 | | }); [INFO] [stdout] | |________________________^ expected struct `std::string::String`, found struct `AutonomousNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[std::string::String]` cannot be indexed by `&str` [INFO] [stdout] --> src/main.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | location = location.children.get_mut(asn).unwrap(); [INFO] [stdout] | ^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[std::string::String]>` is not implemented for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dca8e9c72a7fb91b152d2277ac837c0c4d4776b7d39ec7bf38a6bea55eea65d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca8e9c72a7fb91b152d2277ac837c0c4d4776b7d39ec7bf38a6bea55eea65d1", kill_on_drop: false }` [INFO] [stdout] dca8e9c72a7fb91b152d2277ac837c0c4d4776b7d39ec7bf38a6bea55eea65d1