[INFO] fetching crate bookshelf 1.0.3... [INFO] checking bookshelf-1.0.3 against try#15a786332e2f0dd343b226ab6bb8ec028a350f73 for pr-81782 [INFO] extracting crate bookshelf 1.0.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate bookshelf 1.0.3 on toolchain 15a786332e2f0dd343b226ab6bb8ec028a350f73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "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-5/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" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bd5b44e0b4d4bd8456ac5448d5f49787ae5138c0781ed2eb21c03c9a5c2ca11 [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" "7bd5b44e0b4d4bd8456ac5448d5f49787ae5138c0781ed2eb21c03c9a5c2ca11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bd5b44e0b4d4bd8456ac5448d5f49787ae5138c0781ed2eb21c03c9a5c2ca11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd5b44e0b4d4bd8456ac5448d5f49787ae5138c0781ed2eb21c03c9a5c2ca11", kill_on_drop: false }` [INFO] [stdout] 7bd5b44e0b4d4bd8456ac5448d5f49787ae5138c0781ed2eb21c03c9a5c2ca11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9acd49adfa6466e7271387f052a77d151aa1ea2e63ad68178541242862ea443f [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" "9acd49adfa6466e7271387f052a77d151aa1ea2e63ad68178541242862ea443f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking shellexpand v2.1.0 [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.56s [INFO] running `Command { std: "docker" "inspect" "9acd49adfa6466e7271387f052a77d151aa1ea2e63ad68178541242862ea443f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9acd49adfa6466e7271387f052a77d151aa1ea2e63ad68178541242862ea443f", kill_on_drop: false }` [INFO] [stdout] 9acd49adfa6466e7271387f052a77d151aa1ea2e63ad68178541242862ea443f