[INFO] cloning repository https://github.com/Xevion/time-banner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xevion/time-banner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXevion%2Ftime-banner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXevion%2Ftime-banner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7207a25aefb295595193763c022da35ab8cd6170 [INFO] testing Xevion/time-banner/7207a25aefb295595193763c022da35ab8cd6170 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXevion%2Ftime-banner" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xevion/time-banner on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xevion/time-banner [INFO] finished tweaking git repo https://github.com/Xevion/time-banner [INFO] tweaked toml for git repo https://github.com/Xevion/time-banner written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Xevion/time-banner 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" "+f23b22458132fb20faeb8a915b1c252478696f25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c66277b22d683d7bdbd39313f844611647b8ab2dadeefe86fa38fdab20a7004 [INFO] running `Command { std: "docker" "start" "-a" "4c66277b22d683d7bdbd39313f844611647b8ab2dadeefe86fa38fdab20a7004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c66277b22d683d7bdbd39313f844611647b8ab2dadeefe86fa38fdab20a7004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c66277b22d683d7bdbd39313f844611647b8ab2dadeefe86fa38fdab20a7004", kill_on_drop: false }` [INFO] [stdout] 4c66277b22d683d7bdbd39313f844611647b8ab2dadeefe86fa38fdab20a7004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35c5fcdb31c6170741c8074654d6dd01cbf830f599d51081fee2c7fa1076140d [INFO] running `Command { std: "docker" "start" "-a" "35c5fcdb31c6170741c8074654d6dd01cbf830f599d51081fee2c7fa1076140d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling arrayvec v0.7.3 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling xmlparser v0.13.5 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling tiny-skia-path v0.10.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling kurbo v0.9.5 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling roxmltree v0.18.0 [INFO] [stderr] Compiling rctree v0.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling bstr v1.5.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling fontconfig-parser v0.5.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling svgtypes v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling memmap2 v0.6.2 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling usvg-tree v0.34.0 [INFO] [stderr] Compiling unicode-script v0.5.5 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling ttf-parser v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling ttf-parser v0.19.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling data-url v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling usvg-parser v0.34.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling rgb v0.8.36 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling tiny-skia v0.10.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz-build v0.2.0 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling rustybuzz v0.7.0 [INFO] [stderr] Compiling fontdb v0.14.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling chrono-tz v0.8.3 [INFO] [stderr] Compiling time-banner v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling usvg-text-layout v0.34.0 [INFO] [stderr] Compiling usvg v0.34.1 [INFO] [stderr] Compiling isolang v2.3.0 [INFO] [stderr] Compiling resvg v0.34.1 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling tera v1.19.0 [INFO] [stderr] Compiling timeago v0.4.1 [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/relative.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Months` and `parse_duration` [INFO] [stdout] --> src/relative.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | use crate::relative::{Months, parse_duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TIMEZONES` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/time-banner-d96d88d4e5cc063d/out/codegen.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static TIMEZONES: phf::Map<&'static str, &'static str> = ::phf::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_abbreviation` is never used [INFO] [stdout] --> src/abbr.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_abbreviation(abbreviation: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_absolute` is never used [INFO] [stdout] --> src/parse.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_absolute(raw: String) -> Result<(DateTime, FixedOffset), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Absolute` is never constructed [INFO] [stdout] --> src/template.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OutputForm { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 24 | Relative, [INFO] [stdout] 25 | Absolute, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tz_offset`, `tz_name`, and `view` are never read [INFO] [stdout] --> src/template.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct RenderContext<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub tz_offset: FixedOffset, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub tz_name: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub view: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RenderError` is never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TimeBannerError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 6 | ParseError(String), [INFO] [stdout] 7 | RenderError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `months` is never used [INFO] [stdout] --> src/relative.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Months { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 6 | fn months(count: i32) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration` is never used [INFO] [stdout] --> src/relative.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_duration(str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.53s [INFO] running `Command { std: "docker" "inspect" "35c5fcdb31c6170741c8074654d6dd01cbf830f599d51081fee2c7fa1076140d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c5fcdb31c6170741c8074654d6dd01cbf830f599d51081fee2c7fa1076140d", kill_on_drop: false }` [INFO] [stdout] 35c5fcdb31c6170741c8074654d6dd01cbf830f599d51081fee2c7fa1076140d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 799ffade1fa13324baf8140fe9c0e5d3372bc3489c64a9fd07dd0b425895270c [INFO] running `Command { std: "docker" "start" "-a" "799ffade1fa13324baf8140fe9c0e5d3372bc3489c64a9fd07dd0b425895270c", kill_on_drop: false }` [INFO] [stderr] Compiling time-banner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_absolute` is never used [INFO] [stdout] --> src/parse.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_absolute(raw: String) -> Result<(DateTime, FixedOffset), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Absolute` is never constructed [INFO] [stdout] --> src/template.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OutputForm { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 24 | Relative, [INFO] [stdout] 25 | Absolute, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tz_offset`, `tz_name`, and `view` are never read [INFO] [stdout] --> src/template.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct RenderContext<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub tz_offset: FixedOffset, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub tz_name: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub view: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RenderError` is never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TimeBannerError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 6 | ParseError(String), [INFO] [stdout] 7 | RenderError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "799ffade1fa13324baf8140fe9c0e5d3372bc3489c64a9fd07dd0b425895270c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799ffade1fa13324baf8140fe9c0e5d3372bc3489c64a9fd07dd0b425895270c", kill_on_drop: false }` [INFO] [stdout] 799ffade1fa13324baf8140fe9c0e5d3372bc3489c64a9fd07dd0b425895270c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81aae7198fbd0cc166c3764452e9deed0748e22552d0a42c53f0d11913e8c1fd [INFO] running `Command { std: "docker" "start" "-a" "81aae7198fbd0cc166c3764452e9deed0748e22552d0a42c53f0d11913e8c1fd", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `raw_time` [INFO] [stderr] --> src/routes.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `extension` [INFO] [stderr] --> src/routes.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `raw_time` [INFO] [stderr] --> src/routes.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `extension` [INFO] [stderr] --> src/routes.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stderr] [INFO] [stderr] warning: function `parse_absolute` is never used [INFO] [stderr] --> src/parse.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn parse_absolute(raw: String) -> Result<(DateTime, FixedOffset), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Absolute` is never constructed [INFO] [stderr] --> src/template.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum OutputForm { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 24 | Relative, [INFO] [stderr] 25 | Absolute, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `tz_offset`, `tz_name`, and `view` are never read [INFO] [stderr] --> src/template.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct RenderContext<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 31 | pub tz_offset: FixedOffset, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 32 | pub tz_name: &'a str, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 33 | pub view: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `RenderError` is never constructed [INFO] [stderr] --> src/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum TimeBannerError { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 6 | ParseError(String), [INFO] [stderr] 7 | RenderError(String), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `time-banner` (bin "time-banner" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/time_banner-5a2a60a1b66d1aef) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test abbr::tests::parse_offset ... ok [INFO] [stdout] test relative::tests::parse_empty ... ok [INFO] [stdout] test relative::tests::parse_hour ... ok [INFO] [stdout] test relative::tests::parse_minute ... ok [INFO] [stdout] test relative::tests::parse_day ... ok [INFO] [stdout] test relative::tests::parse_week ... ok [INFO] [stdout] test relative::tests::parse_second ... ok [INFO] [stdout] test relative::tests::parse_year ... ok [INFO] [stdout] test relative::tests::parse_month ... ok [INFO] [stdout] test relative::tests::parse_composite ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- relative::tests::parse_composite stdout ---- [INFO] [stdout] thread 'relative::tests::parse_composite' panicked at src/relative.rs:106:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok(Duration { secs: 599594400, nanos: 0 }) [INFO] [stdout] right: Ok(Duration { secs: 619898940, nanos: 0 }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x638d7bb2979a - std::backtrace_rs::backtrace::libunwind::trace::h24270b8ca84976f5 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x638d7bb2979a - std::backtrace_rs::backtrace::trace_unsynchronized::h02001f29f8a7f873 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x638d7bb2979a - std::sys::backtrace::_print_fmt::hec0fad1ff9d0ced9 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x638d7bb2979a - ::fmt::h64292488f7f2250f [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x638d7bb50413 - core::fmt::rt::Argument::fmt::h5a186eb42f172f83 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x638d7bb50413 - core::fmt::write::h481de9317912dd10 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x638d7bb26493 - std::io::Write::write_fmt::hf3775693c09b4454 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x638d7bb295e2 - std::sys::backtrace::BacktraceLock::print::h8adcaf0142651003 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x638d7bb2ac45 - std::panicking::default_hook::{{closure}}::h15fb66ff6c6741f9 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x638d7bb2aa38 - std::panicking::default_hook::hb9ad284307d8f928 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x638d7b940d99 - as core::ops::function::Fn>::call::h7b6ff508218c42a0 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x638d7b940d99 - test::test_main::{{closure}}::hbc464be6eb0d2a52 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x638d7bb2b348 - as core::ops::function::Fn>::call::h4be8ec3e201e2cf3 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x638d7bb2b348 - std::panicking::rust_panic_with_hook::h66f68b895f94d79f [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x638d7bb2b10a - std::panicking::begin_panic_handler::{{closure}}::hca74b9b22568e264 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x638d7bb29c79 - std::sys::backtrace::__rust_end_short_backtrace::h74dd0769b8a109e0 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x638d7bb2ad9c - rust_begin_unwind [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x638d7bb4ed90 - core::panicking::panic_fmt::h9d563f5dc1b01cab [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x638d7bb4f194 - core::panicking::assert_failed_inner::hca115171b035b30c [INFO] [stdout] 19: 0x638d7b900f2e - core::panicking::assert_failed::h254fd0207359ddc4 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x638d7b904f68 - time_banner::relative::tests::parse_composite::h9c94d64e97862d54 [INFO] [stdout] at /opt/rustwide/workdir/src/relative.rs:106:9 [INFO] [stdout] 21: 0x638d7b904897 - time_banner::relative::tests::parse_composite::{{closure}}::hfa540fc7e3c21121 [INFO] [stdout] at /opt/rustwide/workdir/src/relative.rs:104:25 [INFO] [stdout] 22: 0x638d7b9004c6 - core::ops::function::FnOnce::call_once::h59b2ad8a11a33cbc [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x638d7b94565b - core::ops::function::FnOnce::call_once::h2b334953e617de9b [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x638d7b94565b - test::__rust_begin_short_backtrace::h8faab66b1ff1d0c8 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:621:18 [INFO] [stdout] 25: 0x638d7b944f48 - test::run_test_in_process::{{closure}}::hfb9c1a00854dd37d [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:644:60 [INFO] [stdout] 26: 0x638d7b944f48 - as core::ops::function::FnOnce<()>>::call_once::h74c9970fa5634840 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x638d7b944f48 - std::panicking::try::do_call::hc4c1295047d6f2d7 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x638d7b944f48 - std::panicking::try::h67266f7a45240585 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x638d7b944f48 - std::panic::catch_unwind::h9bd43337d7e40f31 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x638d7b944f48 - test::run_test_in_process::hcd26e1ba57fd34c2 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:644:27 [INFO] [stdout] 31: 0x638d7b944f48 - test::run_test::{{closure}}::h7249fd59f504e406 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:565:43 [INFO] [stdout] 32: 0x638d7b909174 - test::run_test::{{closure}}::h9278596bd856801d [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:595:41 [INFO] [stdout] 33: 0x638d7b909174 - std::sys::backtrace::__rust_begin_short_backtrace::h81ab71768b07ffb5 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x638d7b90c822 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hd39edce2d4305e8d [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/thread/mod.rs:521:17 [INFO] [stdout] 35: 0x638d7b90c822 - as core::ops::function::FnOnce<()>>::call_once::hffcde42bb45e43d3 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x638d7b90c822 - std::panicking::try::do_call::h30d61604663dff17 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x638d7b90c822 - std::panicking::try::h7b8b36119ae94880 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x638d7b90c822 - std::panic::catch_unwind::h4a4bb2ef7a88f652 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x638d7b90c822 - std::thread::Builder::spawn_unchecked_::{{closure}}::hd62ab97c763f4e34 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/thread/mod.rs:520:30 [INFO] [stdout] 40: 0x638d7b90c822 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0a89a60c6ceef6b4 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x638d7bb2f0bb - as core::ops::function::FnOnce>::call_once::h5de9072f83a0d37c [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x638d7bb2f0bb - as core::ops::function::FnOnce>::call_once::hbbf67a38c5e8c30f [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x638d7bb2f0bb - std::sys::pal::unix::thread::Thread::new::thread_start::hb547260a5233ab58 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7eb657d34ac3 - [INFO] [stdout] 45: 0x7eb657dc5a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] relative::tests::parse_composite [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin time-banner` [INFO] running `Command { std: "docker" "inspect" "81aae7198fbd0cc166c3764452e9deed0748e22552d0a42c53f0d11913e8c1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81aae7198fbd0cc166c3764452e9deed0748e22552d0a42c53f0d11913e8c1fd", kill_on_drop: false }` [INFO] [stdout] 81aae7198fbd0cc166c3764452e9deed0748e22552d0a42c53f0d11913e8c1fd