[INFO] cloning repository https://github.com/pixunil/gtfs-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pixunil/gtfs-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixunil%2Fgtfs-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixunil%2Fgtfs-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7aee05ba0303e005768e44cabd995b6413c4ce85 [INFO] checking pixunil/gtfs-sim against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixunil%2Fgtfs-sim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pixunil/gtfs-sim on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pixunil/gtfs-sim [INFO] finished tweaking git repo https://github.com/pixunil/gtfs-sim [INFO] tweaked toml for git repo https://github.com/pixunil/gtfs-sim written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pixunil/gtfs-sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1f3d3709dbe9d4e3b371acdf16cc022215407fc57daefa7d83882bdddf95f21 [INFO] running `Command { std: "docker" "start" "-a" "f1f3d3709dbe9d4e3b371acdf16cc022215407fc57daefa7d83882bdddf95f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1f3d3709dbe9d4e3b371acdf16cc022215407fc57daefa7d83882bdddf95f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f3d3709dbe9d4e3b371acdf16cc022215407fc57daefa7d83882bdddf95f21", kill_on_drop: false }` [INFO] [stdout] f1f3d3709dbe9d4e3b371acdf16cc022215407fc57daefa7d83882bdddf95f21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f802617e78b670be7a4e33282ba012afc7c5b9d628ceb7a41121dbd42cc0f7e5 [INFO] running `Command { std: "docker" "start" "-a" "f802617e78b670be7a4e33282ba012afc7c5b9d628ceb7a41121dbd42cc0f7e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking tiny-transport-test v0.1.0 (/opt/rustwide/workdir/test) [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking geomorph v1.1.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking zip v0.5.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking serde_test v1.0.114 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Checking rustyline v6.2.0 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Checking tiny-transport-simulation v0.1.0 (/opt/rustwide/workdir/simulation) [INFO] [stderr] Checking tiny-transport-storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stderr] Checking tiny-transport-import v0.1.0 (/opt/rustwide/workdir/import) [INFO] [stderr] Checking tiny-transport-wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stdout] error[E0502]: cannot borrow `self.upstream` as mutable because it is also borrowed as immutable [INFO] [stdout] --> import/src/trip/route_buffer.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut differences = self [INFO] [stdout] | _______________________________- [INFO] [stdout] 45 | | .upstream [INFO] [stdout] | |_____________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | routes.push(self.upstream.remove(a).merge(self.downstream.remove(b))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 72 | differences.remove(a); [INFO] [stdout] | ----------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.downstream` as mutable because it is also borrowed as immutable [INFO] [stdout] --> import/src/trip/route_buffer.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|upstream| { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 48 | self.downstream [INFO] [stdout] | --------------- first borrow occurs due to use of `self` in closure [INFO] [stdout] ... [INFO] [stdout] 71 | routes.push(self.upstream.remove(a).merge(self.downstream.remove(b))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 72 | differences.remove(a); [INFO] [stdout] | ----------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.upstream` because it is borrowed [INFO] [stdout] --> import/src/trip/route_buffer.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub(super) fn into_routes(mut self) -> Vec { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] 44 | let mut differences = self [INFO] [stdout] | _______________________________- [INFO] [stdout] 45 | | .upstream [INFO] [stdout] | |_____________________- borrow of `self.upstream` occurs here [INFO] [stdout] ... [INFO] [stdout] 79 | self.upstream [INFO] [stdout] | ^^^^^^^^^^^^^ move out of `self.upstream` occurs here [INFO] [stdout] ... [INFO] [stdout] 89 | } [INFO] [stdout] | - borrow might be used here, when `differences` is dropped and runs the `Drop` code for type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.downstream` because it is borrowed [INFO] [stdout] --> import/src/trip/route_buffer.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|upstream| { [INFO] [stdout] | ---------- borrow of `self` occurs here [INFO] [stdout] 48 | self.downstream [INFO] [stdout] | --------------- borrow occurs due to use in closure [INFO] [stdout] ... [INFO] [stdout] 84 | self.downstream [INFO] [stdout] | ^^^^^^^^^^^^^^^ move out of `self.downstream` occurs here [INFO] [stdout] ... [INFO] [stdout] 89 | } [INFO] [stdout] | - borrow might be used here, when `differences` is dropped and runs the `Drop` code for type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-transport-import` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `self.upstream` as mutable because it is also borrowed as immutable [INFO] [stdout] --> import/src/trip/route_buffer.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut differences = self [INFO] [stdout] | _______________________________- [INFO] [stdout] 45 | | .upstream [INFO] [stdout] | |_____________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 71 | routes.push(self.upstream.remove(a).merge(self.downstream.remove(b))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 72 | differences.remove(a); [INFO] [stdout] | ----------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.downstream` as mutable because it is also borrowed as immutable [INFO] [stdout] --> import/src/trip/route_buffer.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|upstream| { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 48 | self.downstream [INFO] [stdout] | --------------- first borrow occurs due to use of `self` in closure [INFO] [stdout] ... [INFO] [stdout] 71 | routes.push(self.upstream.remove(a).merge(self.downstream.remove(b))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 72 | differences.remove(a); [INFO] [stdout] | ----------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.upstream` because it is borrowed [INFO] [stdout] --> import/src/trip/route_buffer.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub(super) fn into_routes(mut self) -> Vec { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] 44 | let mut differences = self [INFO] [stdout] | _______________________________- [INFO] [stdout] 45 | | .upstream [INFO] [stdout] | |_____________________- borrow of `self.upstream` occurs here [INFO] [stdout] ... [INFO] [stdout] 79 | self.upstream [INFO] [stdout] | ^^^^^^^^^^^^^ move out of `self.upstream` occurs here [INFO] [stdout] ... [INFO] [stdout] 89 | } [INFO] [stdout] | - borrow might be used here, when `differences` is dropped and runs the `Drop` code for type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.downstream` because it is borrowed [INFO] [stdout] --> import/src/trip/route_buffer.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|upstream| { [INFO] [stdout] | ---------- borrow of `self` occurs here [INFO] [stdout] 48 | self.downstream [INFO] [stdout] | --------------- borrow occurs due to use in closure [INFO] [stdout] ... [INFO] [stdout] 84 | self.downstream [INFO] [stdout] | ^^^^^^^^^^^^^^^ move out of `self.downstream` occurs here [INFO] [stdout] ... [INFO] [stdout] 89 | } [INFO] [stdout] | - borrow might be used here, when `differences` is dropped and runs the `Drop` code for type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-transport-import` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "f802617e78b670be7a4e33282ba012afc7c5b9d628ceb7a41121dbd42cc0f7e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f802617e78b670be7a4e33282ba012afc7c5b9d628ceb7a41121dbd42cc0f7e5", kill_on_drop: false }` [INFO] [stdout] f802617e78b670be7a4e33282ba012afc7c5b9d628ceb7a41121dbd42cc0f7e5