[INFO] cloning repository https://github.com/SimonBonr/obsidian_generate_query
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SimonBonr/obsidian_generate_query" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonBonr%2Fobsidian_generate_query", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonBonr%2Fobsidian_generate_query'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 748418b1db75f85d0f31c66081f291792de70c81
[INFO] checking SimonBonr/obsidian_generate_query against 1.95.0-beta.7 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonBonr%2Fobsidian_generate_query" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SimonBonr/obsidian_generate_query
[INFO] finished tweaking git repo https://github.com/SimonBonr/obsidian_generate_query
[INFO] tweaked toml for git repo https://github.com/SimonBonr/obsidian_generate_query written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SimonBonr/obsidian_generate_query on toolchain 1.95.0-beta.7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SimonBonr/obsidian_generate_query 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" "+1.95.0-beta.7" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18c061748eba099856935d92b7d06f35e38fcc3e52b3d59259940a299b4774b4
[INFO] running `Command { std: "docker" "start" "-a" "18c061748eba099856935d92b7d06f35e38fcc3e52b3d59259940a299b4774b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18c061748eba099856935d92b7d06f35e38fcc3e52b3d59259940a299b4774b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18c061748eba099856935d92b7d06f35e38fcc3e52b3d59259940a299b4774b4", kill_on_drop: false }`
[INFO] [stdout] 18c061748eba099856935d92b7d06f35e38fcc3e52b3d59259940a299b4774b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abc95b0eeb59778cfc52b99da95bc21634a833e0572cabe85c2d2e9733f0cbd4
[INFO] running `Command { std: "docker" "start" "-a" "abc95b0eeb59778cfc52b99da95bc21634a833e0572cabe85c2d2e9733f0cbd4", kill_on_drop: false }`
[INFO] [stderr]     Checking zotero_obsidian_headers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/litterature_processing.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 |             Err(err) => {if (data::DEBUGGING){ println!("Skipping {} due to {}", filename.display(), err)}},
[INFO] [stdout]    |                             ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 -             Err(err) => {if (data::DEBUGGING){ println!("Skipping {} due to {}", filename.display(), err)}},
[INFO] [stdout] 14 +             Err(err) => {if data::DEBUGGING { println!("Skipping {} due to {}", filename.display(), err)}},
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::Nested_Links`
[INFO] [stdout]  --> src/zettle_processing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::data::Nested_Links;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/zettle_processing.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, collections::HashMap};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Nested_Links` should have an upper camel case name
[INFO] [stdout]  --> src/data.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Nested_Links {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NestedLinks`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/litterature_processing.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 |             Err(err) => {if (data::DEBUGGING){ println!("Skipping {} due to {}", filename.display(), err)}},
[INFO] [stdout]    |                             ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 -             Err(err) => {if (data::DEBUGGING){ println!("Skipping {} due to {}", filename.display(), err)}},
[INFO] [stdout] 14 +             Err(err) => {if data::DEBUGGING { println!("Skipping {} due to {}", filename.display(), err)}},
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::Nested_Links`
[INFO] [stdout]  --> src/zettle_processing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::data::Nested_Links;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/zettle_processing.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, collections::HashMap};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Nested_Links` should have an upper camel case name
[INFO] [stdout]  --> src/data.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Nested_Links {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NestedLinks`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tabs` is assigned to, but never used
[INFO] [stdout]   --> src/litterature_processing.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut tabs = 0;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_tabs` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tabs` is never read
[INFO] [stdout]   --> src/litterature_processing.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             tabs += 1;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/zettle_processing.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn modify_zettle_files(zet_loc: &String, mut nested_links:data::Nested_Links) {
[INFO] [stdout]   |                                              ----^^^^^^^^^^^^
[INFO] [stdout]   |                                              |
[INFO] [stdout]   |                                              help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_header_combo` is never read
[INFO] [stdout]   --> src/zettle_processing.rs:96:44
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut new_header_combo: String = String::new();
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tabs` is assigned to, but never used
[INFO] [stdout]   --> src/litterature_processing.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut tabs = 0;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_tabs` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tabs` is never read
[INFO] [stdout]   --> src/litterature_processing.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             tabs += 1;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/zettle_processing.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn modify_zettle_files(zet_loc: &String, mut nested_links:data::Nested_Links) {
[INFO] [stdout]   |                                              ----^^^^^^^^^^^^
[INFO] [stdout]   |                                              |
[INFO] [stdout]   |                                              help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rec_nested_link` is never used
[INFO] [stdout]    --> src/zettle_processing.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn rec_nested_link(nested_links: &data::Nested_Links, tabs: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_queries` is never used
[INFO] [stdout]    --> src/zettle_processing.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn add_queries() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `files_file` should have an upper case name
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | static files_file: &str  = "./resources/folders.txt";
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - static files_file: &str  = "./resources/folders.txt";
[INFO] [stdout] 23 + static FILES_FILE: &str  = "./resources/folders.txt";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_header_combo` is never read
[INFO] [stdout]   --> src/zettle_processing.rs:96:44
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut new_header_combo: String = String::new();
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rec_nested_link` is never used
[INFO] [stdout]    --> src/zettle_processing.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn rec_nested_link(nested_links: &data::Nested_Links, tabs: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_queries` is never used
[INFO] [stdout]    --> src/zettle_processing.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn add_queries() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `files_file` should have an upper case name
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | static files_file: &str  = "./resources/folders.txt";
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 23 - static files_file: &str  = "./resources/folders.txt";
[INFO] [stdout] 23 + static FILES_FILE: &str  = "./resources/folders.txt";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/zettle_processing.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     fs::write(&fileaddr, new_filedata);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     let _ = fs::write(&fileaddr, new_filedata);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/zettle_processing.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     fs::write(&fileaddr, new_filedata);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     let _ = fs::write(&fileaddr, new_filedata);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] running `Command { std: "docker" "inspect" "abc95b0eeb59778cfc52b99da95bc21634a833e0572cabe85c2d2e9733f0cbd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abc95b0eeb59778cfc52b99da95bc21634a833e0572cabe85c2d2e9733f0cbd4", kill_on_drop: false }`
[INFO] [stdout] abc95b0eeb59778cfc52b99da95bc21634a833e0572cabe85c2d2e9733f0cbd4
