[INFO] cloning repository https://github.com/OscarCreator/shift [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OscarCreator/shift" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarCreator%2Fshift", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarCreator%2Fshift'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b3babcb4dfcd6dc064df8d1b8facaeaa5c84205 [INFO] checking OscarCreator/shift against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarCreator%2Fshift" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OscarCreator/shift [INFO] finished tweaking git repo https://github.com/OscarCreator/shift [INFO] tweaked toml for git repo https://github.com/OscarCreator/shift written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OscarCreator/shift on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OscarCreator/shift 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859 [INFO] running `Command { std: "docker" "start" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking edit v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking shift-lib v0.1.0 (/opt/rustwide/workdir/crates/shift-lib) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> crates/shift-lib/src/commands/event.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> crates/shift-lib/src/commands/pause.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | PauseResumeError::MultiplePauses(sessions) => f.write_str("Multiple pauses ongoing"), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> crates/shift-lib/src/commands/undo.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn undo(s: &ShiftDb, opts: &Opts) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `DateTime` [INFO] [stdout] --> crates/shift-lib/src/commands/start.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | event.time = start_time.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 36 - event.time = start_time.into() [INFO] [stdout] 36 + event.time = start_time [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 36 - event.time = start_time.into() [INFO] [stdout] 36 + event.time = as Into<_>>::into(start_time) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `DateTime` [INFO] [stdout] --> crates/shift-lib/src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | time: time.into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 77 - time: time.into(), [INFO] [stdout] 77 + time: time, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 77 - time: time.into(), [INFO] [stdout] 77 + time: as Into<_>>::into(time), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shift-lib` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> crates/shift-lib/src/commands/pause.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | PauseResumeError::MultiplePauses(sessions) => f.write_str("Multiple pauses ongoing"), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> crates/shift-lib/src/commands/undo.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn undo(s: &ShiftDb, opts: &Opts) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sessions` is never used [INFO] [stdout] --> crates/shift-lib/src/commands/sessions.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn sessions(s: &ShiftDb, args: &Config) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `DateTime` [INFO] [stdout] --> crates/shift-lib/src/commands/start.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | event.time = start_time.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 36 - event.time = start_time.into() [INFO] [stdout] 36 + event.time = start_time [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 36 - event.time = start_time.into() [INFO] [stdout] 36 + event.time = as Into<_>>::into(start_time) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `DateTime` [INFO] [stdout] --> crates/shift-lib/src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | time: time.into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 77 - time: time.into(), [INFO] [stdout] 77 + time: time, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 77 - time: time.into(), [INFO] [stdout] 77 + time: as Into<_>>::into(time), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shift-lib` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> crates/shift-lib/Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | serde_json = "1.0.114" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: `shift-lib` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859", kill_on_drop: false }` [INFO] [stdout] c47353070c9ac83d4d20a17e82b75ceac795ef59fd39ac4aa1e9328b81489859