[INFO] cloning repository https://github.com/coolcatcoder/retrieval [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coolcatcoder/retrieval" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolcatcoder%2Fretrieval", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolcatcoder%2Fretrieval'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d088231d2467cc1c03fde3fcda8b694a2584a29 [INFO] checking coolcatcoder/retrieval against master#d93f678fa55842cccd2f091deccd93e9494b3764 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolcatcoder%2Fretrieval" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coolcatcoder/retrieval on toolchain d93f678fa55842cccd2f091deccd93e9494b3764 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coolcatcoder/retrieval [INFO] finished tweaking git repo https://github.com/coolcatcoder/retrieval [INFO] tweaked toml for git repo https://github.com/coolcatcoder/retrieval written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/coolcatcoder/retrieval 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" "+d93f678fa55842cccd2f091deccd93e9494b3764" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10ecfbd7ac6b7502fd30d67153e3f5b55ca31ae644da7cc09dd5fe198dec5fdd [INFO] running `Command { std: "docker" "start" "-a" "10ecfbd7ac6b7502fd30d67153e3f5b55ca31ae644da7cc09dd5fe198dec5fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10ecfbd7ac6b7502fd30d67153e3f5b55ca31ae644da7cc09dd5fe198dec5fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ecfbd7ac6b7502fd30d67153e3f5b55ca31ae644da7cc09dd5fe198dec5fdd", kill_on_drop: false }` [INFO] [stdout] 10ecfbd7ac6b7502fd30d67153e3f5b55ca31ae644da7cc09dd5fe198dec5fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d9ff440db7be2e1d11947329582f364b9819e5e8c29a1b3dbb0e1051a255009 [INFO] running `Command { std: "docker" "start" "-a" "1d9ff440db7be2e1d11947329582f364b9819e5e8c29a1b3dbb0e1051a255009", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking syn v2.0.98 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Checking retrieval_proc_macros v0.1.0 (/opt/rustwide/workdir/retrieval_proc_macros) [INFO] [stdout] warning: unused imports: `PatType` and `TypeParam` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | FnArg, GenericParam, Ident, ImplItem, ItemFn, ItemImpl, ItemTrait, LitInt, PatType, TraitItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Type, TypeParam, TypeParamBound, parse::Parse, parse_macro_input, spanned::Spanned, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PatType` and `TypeParam` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | FnArg, GenericParam, Ident, ImplItem, ItemFn, ItemImpl, ItemTrait, LitInt, PatType, TraitItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Type, TypeParam, TypeParamBound, parse::Parse, parse_macro_input, spanned::Spanned, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elements` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let elements: Vec = Vec::with_capacity(100_usize.pow(witnesses.len() as u32)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | for i in 0..100_u32.pow(witnesses.len() as u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let inner = (); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elements` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let elements: Vec = Vec::with_capacity(100_usize.pow(witnesses.len() as u32)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | for i in 0..100_u32.pow(witnesses.len() as u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let inner = (); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | fn something_internal(input: TokenStream, mut item: ItemImpl) -> syn::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | fn something_internal(input: TokenStream, mut item: ItemImpl) -> syn::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PatType` and `TypeParam` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | FnArg, GenericParam, Ident, ImplItem, ItemFn, ItemImpl, ItemTrait, LitInt, PatType, TraitItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Type, TypeParam, TypeParamBound, parse::Parse, parse_macro_input, spanned::Spanned, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elements` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let elements: Vec = Vec::with_capacity(100_usize.pow(witnesses.len() as u32)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | for i in 0..100_u32.pow(witnesses.len() as u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let inner = (); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> retrieval_proc_macros/src/lib.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | fn something_internal(input: TokenStream, mut item: ItemImpl) -> syn::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking retrieval v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `dollar_sign` [INFO] [stdout] --> src/convenience.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! dollar_sign { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `trait_collection` [INFO] [stdout] --> src/convenience.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! trait_collection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dollar_sign` [INFO] [stdout] --> src/convenience.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! dollar_sign { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `trait_collection` [INFO] [stdout] --> src/convenience.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! trait_collection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncallable` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | const fn uncallable() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_1` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | const fn for_each_element_part_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_2` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | const fn for_each_element_part_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_3` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | const fn for_each_element_part_3() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_4` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | const fn for_each_element_part_4() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_5` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | const fn for_each_element_part_5() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_6` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | const fn for_each_element_part_6() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_7` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | const fn for_each_element_part_7() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_each_element_part_8` is never used [INFO] [stdout] --> examples/without_convenience/main.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | const fn for_each_element_part_8() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Has` is never used [INFO] [stdout] --> examples/experiment/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait Has { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_messages` is never used [INFO] [stdout] --> examples/experiment/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn print_messages() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect` is never used [INFO] [stdout] --> examples/experiment/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | const fn collect(messages: &mut [Option<&str>], index: &mut usize, _: &dyn FnOnce() -> T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_messages` is never used [INFO] [stdout] --> examples/experiment/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | const fn collect_messages() -> [Option<&'static str>; 100] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.44s [INFO] running `Command { std: "docker" "inspect" "1d9ff440db7be2e1d11947329582f364b9819e5e8c29a1b3dbb0e1051a255009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9ff440db7be2e1d11947329582f364b9819e5e8c29a1b3dbb0e1051a255009", kill_on_drop: false }` [INFO] [stdout] 1d9ff440db7be2e1d11947329582f364b9819e5e8c29a1b3dbb0e1051a255009