[INFO] fetching crate timeblok 0.5.0... [INFO] building timeblok-0.5.0 against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] extracting crate timeblok 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate timeblok 0.5.0 on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate timeblok 0.5.0 [INFO] finished tweaking crates.io crate timeblok 0.5.0 [INFO] tweaked toml for crates.io crate timeblok 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dateparser v0.2.1 [INFO] [stderr] Downloaded icalendar v0.15.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0a272bd172321654d07929046abb7d6c88d4d70fbfb7451171e14c219d6d68f [INFO] running `Command { std: "docker" "start" "-a" "f0a272bd172321654d07929046abb7d6c88d4d70fbfb7451171e14c219d6d68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0a272bd172321654d07929046abb7d6c88d4d70fbfb7451171e14c219d6d68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a272bd172321654d07929046abb7d6c88d4d70fbfb7451171e14c219d6d68f", kill_on_drop: false }` [INFO] [stdout] f0a272bd172321654d07929046abb7d6c88d4d70fbfb7451171e14c219d6d68f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36101168e1e7bd4b0cc5c40555bc838a5637b743a38bad2899aebfa64f0091f5 [INFO] running `Command { std: "docker" "start" "-a" "36101168e1e7bd4b0cc5c40555bc838a5637b743a38bad2899aebfa64f0091f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling indicatif v0.17.7 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling iso8601 v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling dateparser v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono-tz v0.8.5 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling icalendar v0.15.8 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling timeblok v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::CharTryFromError` [INFO] [stdout] --> src/converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::CharTryFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/importer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExactTime` [INFO] [stdout] --> src/importer.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ir::{ExactDateTime, ExactEvent, ExactRange, ExactRecord, ExactTime, ExactTimeRange, Todo, ExactNotes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveWeek` [INFO] [stdout] --> src/ir/mod.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ir/filter.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::Range` [INFO] [stdout] --> src/ir/filter.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use crate::ir::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::TimeRange` [INFO] [stdout] --> src/ir/filter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::ir::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/preset/workalendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/preset/workalendar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/preset/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/preset/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalendar::Calendar` [INFO] [stdout] --> src/preset/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icalendar::Calendar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file`, `get_dir` [INFO] [stdout] --> src/preset/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::{download_file, get_dir}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/preset/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/resolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude as cr` [INFO] [stdout] --> src/resolver.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/resolver.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/utils/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/environment.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::filter::{Filter, BDF}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/resolver.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i,record) in records.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/ir/mod.rs:320:66 [INFO] [stdout] | [INFO] [stdout] 320 | CalendarDateTime::WithTimezone {date_time, tzid: tz} => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let fnc = Rc::new(|env: &Environment, x: &CommandCall| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | insert_command(env, "t", 0, Rc::new(|env: &Environment, x: &CommandCall|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur` and `fit_date` are never read [INFO] [stdout] --> src/environment.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EnvIterator<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | env: &'a Environment, [INFO] [stdout] 23 | cur: Date, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fit_date: Date, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loc` and `get_recurse` are never used [INFO] [stdout] --> src/environment.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 69 | // might come in handy later [INFO] [stdout] 70 | fn get_loc(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_recurse(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/output.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn warn(msg: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_duration` is never used [INFO] [stdout] --> src/resolver.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn resolve_duration(duration: &Duration, base: &Environment) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dirs` is never used [INFO] [stdout] --> src/utils/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Dirs{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.79s [INFO] running `Command { std: "docker" "inspect" "36101168e1e7bd4b0cc5c40555bc838a5637b743a38bad2899aebfa64f0091f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36101168e1e7bd4b0cc5c40555bc838a5637b743a38bad2899aebfa64f0091f5", kill_on_drop: false }` [INFO] [stdout] 36101168e1e7bd4b0cc5c40555bc838a5637b743a38bad2899aebfa64f0091f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7869aa312d13424a786304f7055ed73fd2fe17447ff4ae214d6b8d2fda302485 [INFO] running `Command { std: "docker" "start" "-a" "7869aa312d13424a786304f7055ed73fd2fe17447ff4ae214d6b8d2fda302485", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling similar v2.4.0 [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::CharTryFromError` [INFO] [stdout] --> src/converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::CharTryFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/importer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExactTime` [INFO] [stdout] --> src/importer.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ir::{ExactDateTime, ExactEvent, ExactRange, ExactRecord, ExactTime, ExactTimeRange, Todo, ExactNotes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveWeek` [INFO] [stdout] --> src/ir/mod.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ir/filter.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::Range` [INFO] [stdout] --> src/ir/filter.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use crate::ir::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::TimeRange` [INFO] [stdout] --> src/ir/filter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::ir::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/preset/workalendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/preset/workalendar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/preset/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/preset/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalendar::Calendar` [INFO] [stdout] --> src/preset/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icalendar::Calendar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file`, `get_dir` [INFO] [stdout] --> src/preset/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::{download_file, get_dir}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/preset/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/resolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude as cr` [INFO] [stdout] --> src/resolver.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/resolver.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/utils/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/environment.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::filter::{Filter, BDF}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/resolver.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i,record) in records.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/ir/mod.rs:320:66 [INFO] [stdout] | [INFO] [stdout] 320 | CalendarDateTime::WithTimezone {date_time, tzid: tz} => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let fnc = Rc::new(|env: &Environment, x: &CommandCall| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | insert_command(env, "t", 0, Rc::new(|env: &Environment, x: &CommandCall|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur` and `fit_date` are never read [INFO] [stdout] --> src/environment.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EnvIterator<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | env: &'a Environment, [INFO] [stdout] 23 | cur: Date, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fit_date: Date, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loc` and `get_recurse` are never used [INFO] [stdout] --> src/environment.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 69 | // might come in handy later [INFO] [stdout] 70 | fn get_loc(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_recurse(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/output.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn warn(msg: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_duration` is never used [INFO] [stdout] --> src/resolver.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn resolve_duration(duration: &Duration, base: &Environment) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dirs` is never used [INFO] [stdout] --> src/utils/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Dirs{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling timeblok v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::CharTryFromError` [INFO] [stdout] --> src/converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::CharTryFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/converter.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/importer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExactTime` [INFO] [stdout] --> src/importer.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ir::{ExactDateTime, ExactEvent, ExactRange, ExactRecord, ExactTime, ExactTimeRange, Todo, ExactNotes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveWeek` [INFO] [stdout] --> src/ir/mod.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/preset/workalendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/preset/workalendar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/preset/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/preset/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalendar::Calendar` [INFO] [stdout] --> src/preset/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icalendar::Calendar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file`, `get_dir` [INFO] [stdout] --> src/preset/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::{download_file, get_dir}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/preset/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/resolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude as cr` [INFO] [stdout] --> src/resolver.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/resolver.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/utils/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/environment.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::filter::{Filter, BDF}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/resolver.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i,record) in records.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/ir/mod.rs:320:66 [INFO] [stdout] | [INFO] [stdout] 320 | CalendarDateTime::WithTimezone {date_time, tzid: tz} => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cal` [INFO] [stdout] --> src/preset/workalendar.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let cal = get_holiday(&"US".to_string(), true)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let fnc = Rc::new(|env: &Environment, x: &CommandCall| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | insert_command(env, "t", 0, Rc::new(|env: &Environment, x: &CommandCall|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur` and `fit_date` are never read [INFO] [stdout] --> src/environment.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EnvIterator<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | env: &'a Environment, [INFO] [stdout] 23 | cur: Date, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fit_date: Date, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loc` and `get_recurse` are never used [INFO] [stdout] --> src/environment.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 69 | // might come in handy later [INFO] [stdout] 70 | fn get_loc(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_recurse(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/output.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn warn(msg: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_duration` is never used [INFO] [stdout] --> src/resolver.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn resolve_duration(duration: &Duration, base: &Environment) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dirs` is never used [INFO] [stdout] --> src/utils/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Dirs{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "7869aa312d13424a786304f7055ed73fd2fe17447ff4ae214d6b8d2fda302485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7869aa312d13424a786304f7055ed73fd2fe17447ff4ae214d6b8d2fda302485", kill_on_drop: false }` [INFO] [stdout] 7869aa312d13424a786304f7055ed73fd2fe17447ff4ae214d6b8d2fda302485 [INFO] building timeblok-0.5.0 against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] extracting crate timeblok 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate timeblok 0.5.0 on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate timeblok 0.5.0 [INFO] finished tweaking crates.io crate timeblok 0.5.0 [INFO] tweaked toml for crates.io crate timeblok 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65106f9d87752cf9e3285879e7b45fe3f7022621c003e87bff7168528775cee7 [INFO] running `Command { std: "docker" "start" "-a" "65106f9d87752cf9e3285879e7b45fe3f7022621c003e87bff7168528775cee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65106f9d87752cf9e3285879e7b45fe3f7022621c003e87bff7168528775cee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65106f9d87752cf9e3285879e7b45fe3f7022621c003e87bff7168528775cee7", kill_on_drop: false }` [INFO] [stdout] 65106f9d87752cf9e3285879e7b45fe3f7022621c003e87bff7168528775cee7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb6dd498cc27f86be2d4b8765c6c4671d6825549b7337a28e99fa630a644707 [INFO] running `Command { std: "docker" "start" "-a" "7cb6dd498cc27f86be2d4b8765c6c4671d6825549b7337a28e99fa630a644707", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] error: could not compile `regex-syntax` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/fe8f664b41f030f307cfeb6cb8c3a1419292aeed/bin/rustc --crate-name regex_syntax --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=754c1f6918011bc4 -C extra-filename=-754c1f6918011bc4 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7cb6dd498cc27f86be2d4b8765c6c4671d6825549b7337a28e99fa630a644707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb6dd498cc27f86be2d4b8765c6c4671d6825549b7337a28e99fa630a644707", kill_on_drop: false }` [INFO] [stdout] 7cb6dd498cc27f86be2d4b8765c6c4671d6825549b7337a28e99fa630a644707