[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] testing hamptonmoore/bird_route_collector against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamptonmoore%2Fbird_route_collector" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamptonmoore/bird_route_collector on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/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" "+beta-2022-04-10" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21ae5a434505d70f3b7b20c47eb2c8c2eec41de1566d9397118080a63d3b122b [INFO] running `Command { std: "docker" "start" "-a" "21ae5a434505d70f3b7b20c47eb2c8c2eec41de1566d9397118080a63d3b122b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ae5a434505d70f3b7b20c47eb2c8c2eec41de1566d9397118080a63d3b122b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ae5a434505d70f3b7b20c47eb2c8c2eec41de1566d9397118080a63d3b122b", kill_on_drop: false }` [INFO] [stdout] 21ae5a434505d70f3b7b20c47eb2c8c2eec41de1566d9397118080a63d3b122b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 895083b49ef187c872ad79dd361e0b3c91be1c97d59541c92094c91110a1f6a4 [INFO] running `Command { std: "docker" "start" "-a" "895083b49ef187c872ad79dd361e0b3c91be1c97d59541c92094c91110a1f6a4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling 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: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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[std::string::String]>` is not implemented for `&str` [INFO] [stdout] note: required by a bound in `core::slice::::get_mut` [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` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "895083b49ef187c872ad79dd361e0b3c91be1c97d59541c92094c91110a1f6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895083b49ef187c872ad79dd361e0b3c91be1c97d59541c92094c91110a1f6a4", kill_on_drop: false }` [INFO] [stdout] 895083b49ef187c872ad79dd361e0b3c91be1c97d59541c92094c91110a1f6a4