[INFO] cloning repository https://github.com/berendjan/rust-simple-matching-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/berendjan/rust-simple-matching-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberendjan%2Frust-simple-matching-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberendjan%2Frust-simple-matching-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed7695eaeb85b7c0c217ee3463e0933ac9f623bd [INFO] building berendjan/rust-simple-matching-engine against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberendjan%2Frust-simple-matching-engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/berendjan/rust-simple-matching-engine on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/berendjan/rust-simple-matching-engine [INFO] finished tweaking git repo https://github.com/berendjan/rust-simple-matching-engine [INFO] tweaked toml for git repo https://github.com/berendjan/rust-simple-matching-engine written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/berendjan/rust-simple-matching-engine 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011cc33545e9230857d1b9d13cc95ee565cfc014090602d01bf582ba2a6b8e55 [INFO] running `Command { std: "docker" "start" "-a" "011cc33545e9230857d1b9d13cc95ee565cfc014090602d01bf582ba2a6b8e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011cc33545e9230857d1b9d13cc95ee565cfc014090602d01bf582ba2a6b8e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011cc33545e9230857d1b9d13cc95ee565cfc014090602d01bf582ba2a6b8e55", kill_on_drop: false }` [INFO] [stdout] 011cc33545e9230857d1b9d13cc95ee565cfc014090602d01bf582ba2a6b8e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d325579493d59e6ec20470077e725b5052e1d03539489f14e8bd2068318239b3 [INFO] running `Command { std: "docker" "start" "-a" "d325579493d59e6ec20470077e725b5052e1d03539489f14e8bd2068318239b3", kill_on_drop: false }` [INFO] [stderr] Compiling rust-matching-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `key_value_mut` found for struct `std::collections::btree_map::CursorMut` in the current scope [INFO] [stdout] --> src/matching_engine.rs:135:52 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some((price, order_queue)) = top.key_value_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `CursorMut<'_, u64, VecDeque>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_current` found for struct `std::collections::btree_map::CursorMut` in the current scope [INFO] [stdout] --> src/matching_engine.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | top.remove_current(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove_next` with a similar name [INFO] [stdout] | [INFO] [stdout] 143 | top.remove_next(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `key_value_mut` found for struct `std::collections::btree_map::CursorMut` in the current scope [INFO] [stdout] --> src/matching_engine.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | while let Some((price, order_queue)) = top.key_value_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `CursorMut<'_, u64, VecDeque>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_current_and_move_back` found for struct `std::collections::btree_map::CursorMut` in the current scope [INFO] [stdout] --> src/matching_engine.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | top.remove_current_and_move_back(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `CursorMut<'_, u64, VecDeque>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-matching-engine` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d325579493d59e6ec20470077e725b5052e1d03539489f14e8bd2068318239b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d325579493d59e6ec20470077e725b5052e1d03539489f14e8bd2068318239b3", kill_on_drop: false }` [INFO] [stdout] d325579493d59e6ec20470077e725b5052e1d03539489f14e8bd2068318239b3