[INFO] fetching crate kgb 0.0.10... [INFO] checking kgb-0.0.10 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate kgb 0.0.10 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate kgb 0.0.10 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kgb 0.0.10 [INFO] finished tweaking crates.io crate kgb 0.0.10 [INFO] tweaked toml for crates.io crate kgb 0.0.10 written to /workspace/builds/worker-86/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c238d234e7d9a91127450a6803642d4136117b8b834e36ce31b25bc24d0bf7c1 [INFO] running `Command { std: "docker" "start" "-a" "c238d234e7d9a91127450a6803642d4136117b8b834e36ce31b25bc24d0bf7c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c238d234e7d9a91127450a6803642d4136117b8b834e36ce31b25bc24d0bf7c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c238d234e7d9a91127450a6803642d4136117b8b834e36ce31b25bc24d0bf7c1", kill_on_drop: false }` [INFO] [stdout] c238d234e7d9a91127450a6803642d4136117b8b834e36ce31b25bc24d0bf7c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efd338311ede2eb078de846715f04851438bb0fa93809dac3a5685707c2f1b61 [INFO] running `Command { std: "docker" "start" "-a" "efd338311ede2eb078de846715f04851438bb0fa93809dac3a5685707c2f1b61", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking nom v4.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking nya v0.7.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking comrak v0.2.14 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking assert_cli v0.6.3 [INFO] [stderr] Checking kgb v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hbars.rs:41:88 [INFO] [stdout] | [INFO] [stdout] 41 | |h: &Helper, _: &Handlebars, _: &Context, _: &mut RenderContext, out: &mut Output| { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut source; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hbars.rs:41:88 [INFO] [stdout] | [INFO] [stdout] 41 | |h: &Helper, _: &Handlebars, _: &Context, _: &mut RenderContext, out: &mut Output| { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hbars.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut file_struct = SimpleFile { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | &ctxmap.insert("en", t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = &ctxmap.insert("en", t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | &ctxmap.insert(&locales[i], t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = &ctxmap.insert(&locales[i], t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | &filevec.push(file_struct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = &filevec.push(file_struct); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | &filevec.push(file_struct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &filevec.push(file_struct); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut source; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hbars.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut file_struct = SimpleFile { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | &ctxmap.insert("en", t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = &ctxmap.insert("en", t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | &ctxmap.insert(&locales[i], t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = &ctxmap.insert(&locales[i], t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | &filevec.push(file_struct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = &filevec.push(file_struct); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/hbars.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | &filevec.push(file_struct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &filevec.push(file_struct); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.63s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "efd338311ede2eb078de846715f04851438bb0fa93809dac3a5685707c2f1b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd338311ede2eb078de846715f04851438bb0fa93809dac3a5685707c2f1b61", kill_on_drop: false }` [INFO] [stdout] efd338311ede2eb078de846715f04851438bb0fa93809dac3a5685707c2f1b61