[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamptonmoore%2Fbird_route_collector" "/workspace/builds/worker-64/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamptonmoore/bird_route_collector on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-64/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe81fa0070ce77ce5ea13c8bc00a636ae05839517890b1def579c552546d4a21 [INFO] running `Command { std: "docker" "start" "-a" "fe81fa0070ce77ce5ea13c8bc00a636ae05839517890b1def579c552546d4a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe81fa0070ce77ce5ea13c8bc00a636ae05839517890b1def579c552546d4a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe81fa0070ce77ce5ea13c8bc00a636ae05839517890b1def579c552546d4a21", kill_on_drop: false }` [INFO] [stdout] fe81fa0070ce77ce5ea13c8bc00a636ae05839517890b1def579c552546d4a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d7c24c87934aa7bbd32bc2a72c837fd3fcb9743ae2cd240e01f1d11d5ebb9bf [INFO] running `Command { std: "docker" "start" "-a" "5d7c24c87934aa7bbd32bc2a72c837fd3fcb9743ae2cd240e01f1d11d5ebb9bf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] = 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` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] = 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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5d7c24c87934aa7bbd32bc2a72c837fd3fcb9743ae2cd240e01f1d11d5ebb9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7c24c87934aa7bbd32bc2a72c837fd3fcb9743ae2cd240e01f1d11d5ebb9bf", kill_on_drop: false }` [INFO] [stdout] 5d7c24c87934aa7bbd32bc2a72c837fd3fcb9743ae2cd240e01f1d11d5ebb9bf