[INFO] fetching crate bookshelf 1.0.3... [INFO] checking bookshelf-1.0.3 against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] extracting crate bookshelf 1.0.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate bookshelf 1.0.3 on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bookshelf 1.0.3 [INFO] finished tweaking crates.io crate bookshelf 1.0.3 [INFO] tweaked toml for crates.io crate bookshelf 1.0.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate bookshelf 1.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6c8d9866320ed107b3e87fb76716eb47fc332394bc0a6f7906a65dbf82278e [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" "0b6c8d9866320ed107b3e87fb76716eb47fc332394bc0a6f7906a65dbf82278e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6c8d9866320ed107b3e87fb76716eb47fc332394bc0a6f7906a65dbf82278e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6c8d9866320ed107b3e87fb76716eb47fc332394bc0a6f7906a65dbf82278e", kill_on_drop: false }` [INFO] [stdout] 0b6c8d9866320ed107b3e87fb76716eb47fc332394bc0a6f7906a65dbf82278e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10273a3048f8cc9e430dfdb69f327531e16c8daa07c4571bb17a73cb00d99752 [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" "10273a3048f8cc9e430dfdb69f327531e16c8daa07c4571bb17a73cb00d99752", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking serde_yaml v0.8.16 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking bookshelf v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/fsio.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/fsio.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `config` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fsio.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 50 | let p = shellexpand::full(config.get("data_dir").unwrap()); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 53 | config.insert("data_dir".to_string(), p.to_string()); [INFO] [stdout] | ^^^^^^ mutable borrow occurs here - immutable borrow later used 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: cannot borrow `config` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fsio.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 41 | let p = shellexpand::full(config.get("modules_dir").unwrap()); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 44 | config.insert("modules_dir".to_string(), p.to_string()); [INFO] [stdout] | ^^^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [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: cannot borrow `config` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fsio.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 59 | let p = shellexpand::full(config.get("index_file").unwrap()); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 62 | config.insert("index_file".to_string(), p.to_string()); [INFO] [stdout] | ^^^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [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: cannot borrow `config` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fsio.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 50 | let p = shellexpand::full(config.get("data_dir").unwrap()); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 53 | config.insert("data_dir".to_string(), p.to_string()); [INFO] [stdout] | ^^^^^^ mutable borrow occurs here - immutable borrow later used 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: cannot borrow `config` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fsio.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 41 | let p = shellexpand::full(config.get("modules_dir").unwrap()); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 44 | config.insert("modules_dir".to_string(), p.to_string()); [INFO] [stdout] | ^^^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [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: cannot borrow `config` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fsio.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 59 | let p = shellexpand::full(config.get("index_file").unwrap()); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 62 | config.insert("index_file".to_string(), p.to_string()); [INFO] [stdout] | ^^^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [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: field is never read: `config` [INFO] [stdout] --> src/tui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | config: &'lt HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shelf` [INFO] [stdout] --> src/tui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shelf: &'lt Shelf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module_handler` [INFO] [stdout] --> src/tui.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | module_handler: &'lt ModuleHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/tui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | config: &'lt HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shelf` [INFO] [stdout] --> src/tui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shelf: &'lt Shelf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module_handler` [INFO] [stdout] --> src/tui.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | module_handler: &'lt ModuleHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.74s [INFO] running `Command { std: "docker" "inspect" "10273a3048f8cc9e430dfdb69f327531e16c8daa07c4571bb17a73cb00d99752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10273a3048f8cc9e430dfdb69f327531e16c8daa07c4571bb17a73cb00d99752", kill_on_drop: false }` [INFO] [stdout] 10273a3048f8cc9e430dfdb69f327531e16c8daa07c4571bb17a73cb00d99752