[INFO] fetching crate jobber 0.10.5... [INFO] testing jobber-0.10.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate jobber 0.10.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate jobber 0.10.5 [INFO] finished tweaking crates.io crate jobber 0.10.5 [INFO] tweaked toml for crates.io crate jobber 0.10.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jobber 0.10.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jobber 0.10.5 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leap-year v0.1.0 [INFO] [stderr] Downloaded days-in-month v2.0.0 [INFO] [stderr] Downloaded dirs-sys v0.4.0 [INFO] [stderr] Downloaded directories v5.0.0 [INFO] [stderr] Downloaded clap v4.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20358144863d8978bb6ad088472a077176d5a5c68beffd07707554e9059cc302 [INFO] running `Command { std: "docker" "start" "-a" "20358144863d8978bb6ad088472a077176d5a5c68beffd07707554e9059cc302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20358144863d8978bb6ad088472a077176d5a5c68beffd07707554e9059cc302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20358144863d8978bb6ad088472a077176d5a5c68beffd07707554e9059cc302", kill_on_drop: false }` [INFO] [stdout] 20358144863d8978bb6ad088472a077176d5a5c68beffd07707554e9059cc302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 26ae02f461aa704af9cdab1ffd637b55c6e5bd535f64cfb909019176dfb270ed [INFO] running `Command { std: "docker" "start" "-a" "26ae02f461aa704af9cdab1ffd637b55c6e5bd535f64cfb909019176dfb270ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling leap-year v0.1.0 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling days-in-month v2.0.0 [INFO] [stderr] Compiling separator v0.4.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs-sys v0.4.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling termion v2.0.1 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling directories v5.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling strum_macros v0.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Compiling clap v4.1.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling confy v0.5.1 [INFO] [stderr] Compiling jobber v0.10.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/job_list.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob> { [INFO] [stdout] | ^^^^^ -- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn all(&self) -> JobList { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn all(&self) -> JobList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn list(&self, positions: &Positions) -> JobList { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn list(&self, positions: &Positions) -> JobList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tags.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { TAGS.insert_many(job.tags.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/tags.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | TAGS.0.iter().position(|t| t == tag) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.87s [INFO] running `Command { std: "docker" "inspect" "26ae02f461aa704af9cdab1ffd637b55c6e5bd535f64cfb909019176dfb270ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ae02f461aa704af9cdab1ffd637b55c6e5bd535f64cfb909019176dfb270ed", kill_on_drop: false }` [INFO] [stdout] 26ae02f461aa704af9cdab1ffd637b55c6e5bd535f64cfb909019176dfb270ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2017d961e19a01c592b956618463cd295a30f3514ad0b7aac8685f22c27ce1e7 [INFO] running `Command { std: "docker" "start" "-a" "2017d961e19a01c592b956618463cd295a30f3514ad0b7aac8685f22c27ce1e7", kill_on_drop: false }` [INFO] [stderr] Compiling jobber v0.10.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/job_list.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob> { [INFO] [stdout] | ^^^^^ -- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn all(&self) -> JobList { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn all(&self) -> JobList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn list(&self, positions: &Positions) -> JobList { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn list(&self, positions: &Positions) -> JobList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tags.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { TAGS.insert_many(job.tags.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/tags.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | TAGS.0.iter().position(|t| t == tag) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/job_list.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob> { [INFO] [stdout] | ^^^^^ -- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn all(&self) -> JobList { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn all(&self) -> JobList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn list(&self, positions: &Positions) -> JobList { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn list(&self, positions: &Positions) -> JobList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn _filter(&self, range: &Range, tags: &TagSet) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn _filter(&self, range: &Range, tags: &TagSet) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jobs.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tags.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { TAGS.insert_many(job.tags.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/tags.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | TAGS.0.iter().position(|t| t == tag) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "2017d961e19a01c592b956618463cd295a30f3514ad0b7aac8685f22c27ce1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2017d961e19a01c592b956618463cd295a30f3514ad0b7aac8685f22c27ce1e7", kill_on_drop: false }` [INFO] [stdout] 2017d961e19a01c592b956618463cd295a30f3514ad0b7aac8685f22c27ce1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] aacb312e440badf2c3b2ef37e1adfd704c5b2d0e7ec30c4f698b9b5c2f3b24e5 [INFO] running `Command { std: "docker" "start" "-a" "aacb312e440badf2c3b2ef37e1adfd704c5b2d0e7ec30c4f698b9b5c2f3b24e5", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/job_list.rs:85:17 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob> { [INFO] [stderr] | ^^^^^ -- ---------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn iter(&self) -> core::slice::Iter<'_, IndexedJob<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jobs.rs:117:16 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn all(&self) -> JobList { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 117 | pub fn all(&self) -> JobList<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jobs.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn list(&self, positions: &Positions) -> JobList { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 122 | pub fn list(&self, positions: &Positions) -> JobList<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jobs.rs:145:15 [INFO] [stderr] | [INFO] [stderr] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 145 | fn filter(&self, range: &Range, tags: &TagSet) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tags.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe { TAGS.insert_many(job.tags.clone()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/tags.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | TAGS.0.iter().position(|t| t == tag) [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jobs.rs:140:20 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn _filter(&self, range: &Range, tags: &TagSet) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | pub fn _filter(&self, range: &Range, tags: &TagSet) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jobber` (lib) generated 6 warnings (run `cargo fix --lib -p jobber` to apply 4 suggestions) [INFO] [stderr] warning: `jobber` (lib test) generated 7 warnings (6 duplicates) (run `cargo fix --lib -p jobber --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/jobberdb-f2f70f795d2517bd) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test job::test_overlaps ... ok [INFO] [stdout] test job::test_split ... ok [INFO] [stdout] test partial_date_time::test_parse_hm ... ok [INFO] [stdout] test partial_date_time::test_parse_md ... ok [INFO] [stdout] test partial_date_time::test_parse_dm ... ok [INFO] [stdout] test partial_date_time::test_parse_dmy ... ok [INFO] [stdout] test partial_date_time::test_parse_ymd ... ok [INFO] [stdout] test partial_date_time::test_parse_mdy ... ok [INFO] [stdout] test range::test_parse_fails ... ok [INFO] [stdout] test partial_date_time::test_parse_date_time ... ok [INFO] [stdout] test range::test_parse_time_range ... ok [INFO] [stdout] test duration::test_duration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/jobber/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/jobber-7488107d491f9661) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::edit::test_edit_open ... ok [INFO] [stdout] test tests::export::test_csv_date ... ok [INFO] [stdout] test tests::edit::test_edit_tags ... ok [INFO] [stdout] test tests::start::test_start ... ok [INFO] [stdout] test tests::edit::test_edit_last ... ok [INFO] [stdout] test tests::back::test_back_to_work_edit ... ok [INFO] [stdout] test tests::add::test_add ... ok [INFO] [stdout] test tests::delete::test_delete ... ok [INFO] [stdout] test tests::edit::test_edit ... ok [INFO] [stdout] test tests::back::test_back_to_work_deleted_open_job ... ok [INFO] [stdout] test tests::range::test_range ... ok [INFO] [stdout] test tests::back::test_back_to_work ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aacb312e440badf2c3b2ef37e1adfd704c5b2d0e7ec30c4f698b9b5c2f3b24e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aacb312e440badf2c3b2ef37e1adfd704c5b2d0e7ec30c4f698b9b5c2f3b24e5", kill_on_drop: false }` [INFO] [stdout] aacb312e440badf2c3b2ef37e1adfd704c5b2d0e7ec30c4f698b9b5c2f3b24e5