[INFO] fetching crate goto-rs 0.3.0... [INFO] checking goto-rs-0.3.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate goto-rs 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate goto-rs 0.3.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate goto-rs 0.3.0 [INFO] finished tweaking crates.io crate goto-rs 0.3.0 [INFO] tweaked toml for crates.io crate goto-rs 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate goto-rs 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b98bba2d9e278c074a76a7e21fb998f2b0d480ae041e6f969e3affd8410ca43 [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" "4b98bba2d9e278c074a76a7e21fb998f2b0d480ae041e6f969e3affd8410ca43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b98bba2d9e278c074a76a7e21fb998f2b0d480ae041e6f969e3affd8410ca43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b98bba2d9e278c074a76a7e21fb998f2b0d480ae041e6f969e3affd8410ca43", kill_on_drop: false }` [INFO] [stdout] 4b98bba2d9e278c074a76a7e21fb998f2b0d480ae041e6f969e3affd8410ca43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7c875735f938d92bd1ee7e1ed63a421e2acd50be3173aeb2ec1cffc988704d [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" "8b7c875735f938d92bd1ee7e1ed63a421e2acd50be3173aeb2ec1cffc988704d", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking goto-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/db.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | match env::home_dir().map(|p| format!("{}/{}", p.display(), ".config/goto")) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/db.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | match env::home_dir().map(|p| format!("{}/{}", p.display(), ".config/goto/db.txt")) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/db.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | match env::home_dir().map(|p| format!("{}/{}", p.display(), ".config/goto")) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/db.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | match env::home_dir().map(|p| format!("{}/{}", p.display(), ".config/goto/db.txt")) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/switch.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | while let opt_char = alias_ptr.nth(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*db` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/indexer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 95 | match db.get(&k) { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | db.insert(existing, v_existing.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/switch.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | while let opt_char = alias_ptr.nth(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*db` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/indexer.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 95 | match db.get(&k) { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | db.insert(existing, v_existing.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.27s [INFO] running `Command { std: "docker" "inspect" "8b7c875735f938d92bd1ee7e1ed63a421e2acd50be3173aeb2ec1cffc988704d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7c875735f938d92bd1ee7e1ed63a421e2acd50be3173aeb2ec1cffc988704d", kill_on_drop: false }` [INFO] [stdout] 8b7c875735f938d92bd1ee7e1ed63a421e2acd50be3173aeb2ec1cffc988704d