[INFO] cloning repository https://github.com/sankaku/toggl2slack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sankaku/toggl2slack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankaku%2Ftoggl2slack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankaku%2Ftoggl2slack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d4f10b44a10af5321b9abeaa603ad7394d45044 [INFO] testing sankaku/toggl2slack against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankaku%2Ftoggl2slack" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sankaku/toggl2slack on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sankaku/toggl2slack [INFO] finished tweaking git repo https://github.com/sankaku/toggl2slack [INFO] tweaked toml for git repo https://github.com/sankaku/toggl2slack written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sankaku/toggl2slack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.119 [INFO] [stderr] Downloaded os_str_bytes v2.3.2 [INFO] [stderr] Downloaded csv v1.1.4 [INFO] [stderr] Downloaded serde v1.0.119 [INFO] [stderr] Downloaded syn v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2de90fb19b3e490a70755883cd5b9a9479e31b0949ba0c00fc4a52d24cb5a88 [INFO] running `Command { std: "docker" "start" "-a" "b2de90fb19b3e490a70755883cd5b9a9479e31b0949ba0c00fc4a52d24cb5a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2de90fb19b3e490a70755883cd5b9a9479e31b0949ba0c00fc4a52d24cb5a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2de90fb19b3e490a70755883cd5b9a9479e31b0949ba0c00fc4a52d24cb5a88", kill_on_drop: false }` [INFO] [stdout] b2de90fb19b3e490a70755883cd5b9a9479e31b0949ba0c00fc4a52d24cb5a88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3c6dbb80c8d46714652729442f06fe9eb1795c8303a80aadf275e58a9badc85f [INFO] running `Command { std: "docker" "start" "-a" "3c6dbb80c8d46714652729442f06fe9eb1795c8303a80aadf275e58a9badc85f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling os_str_bytes v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.26 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling csv v1.1.4 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling toggl2slack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/toggl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TogglSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/toggl.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/toggl.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TogglDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/toggl.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `begin` [INFO] [stdout] --> src/values.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | begin: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/values.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/values.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | end: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/values.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slack_channel` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let slack_channel = matches.value_of("slack_channel").unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slack_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let sender = slack::SlackAccessor { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "3c6dbb80c8d46714652729442f06fe9eb1795c8303a80aadf275e58a9badc85f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c6dbb80c8d46714652729442f06fe9eb1795c8303a80aadf275e58a9badc85f", kill_on_drop: false }` [INFO] [stdout] 3c6dbb80c8d46714652729442f06fe9eb1795c8303a80aadf275e58a9badc85f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f49c8ff9b42f6b9933b84727c70d3fdf596ce3b88737af0d36af34685f62817f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f49c8ff9b42f6b9933b84727c70d3fdf596ce3b88737af0d36af34685f62817f", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/toggl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TogglSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/toggl.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/toggl.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TogglDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/toggl.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `begin` [INFO] [stdout] --> src/values.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | begin: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/values.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toggl2slack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/values.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | end: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/values.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slack_channel` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let slack_channel = matches.value_of("slack_channel").unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slack_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let sender = slack::SlackAccessor { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/toggl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TogglSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/toggl.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/toggl.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TogglDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/toggl.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `begin` [INFO] [stdout] --> src/values.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | begin: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/values.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/values.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | end: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/values.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.50s [INFO] running `Command { std: "docker" "inspect" "f49c8ff9b42f6b9933b84727c70d3fdf596ce3b88737af0d36af34685f62817f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f49c8ff9b42f6b9933b84727c70d3fdf596ce3b88737af0d36af34685f62817f", kill_on_drop: false }` [INFO] [stdout] f49c8ff9b42f6b9933b84727c70d3fdf596ce3b88737af0d36af34685f62817f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ce0880abe050c3237d8424f118b910328bd300b8d22770269989c292fe15f3c [INFO] running `Command { std: "docker" "start" "-a" "8ce0880abe050c3237d8424f118b910328bd300b8d22770269989c292fe15f3c", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/toggl.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | id: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TogglSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/toggl.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `description` [INFO] [stderr] --> src/toggl.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | description: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TogglDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/toggl.rs:41:23 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `begin` [INFO] [stderr] --> src/values.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | begin: NaiveDate, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/values.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/values.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | end: NaiveDate, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/values.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `toggl2slack` (lib) generated 4 warnings [INFO] [stderr] warning: `toggl2slack` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unused variable: `slack_channel` [INFO] [stderr] --> src/main.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | let slack_channel = matches.value_of("slack_channel").unwrap_or(""); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slack_channel` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sender` [INFO] [stderr] --> src/main.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | let sender = slack::SlackAccessor { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stderr] [INFO] [stderr] warning: `toggl2slack` (bin "toggl2slack" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/toggl2slack-3bd4a7d3371be571) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test message::tests::get_project_message_must_return_text_ordered_by_user_and_project_when_there_are_two_users ... ok [INFO] [stdout] test message::tests::format_duration_time_must_45min_to_05 ... ok [INFO] [stdout] test message::tests::format_duration_time_must_44min_to_05 ... ok [INFO] [stdout] test message::tests::format_duration_time_must_14min_to_0 ... ok [INFO] [stdout] test message::tests::format_duration_time_must_15min_to_05 ... ok [INFO] [stdout] test message::tests::get_project_message_must_work_when_there_is_only_one_user ... ok [INFO] [stdout] test message::tests::get_project_message_user_entry_must_return_text_for_the_given_user ... ok [INFO] [stdout] test message::tests::search_duration_time_must_return_0_when_it_does_not_exist ... ok [INFO] [stdout] test message::tests::format_duration_time_must_60min_to_1 ... ok [INFO] [stdout] test message::tests::sumup_durations_must_not_sum_up_2_elements_which_have_different_record_keys ... ok [INFO] [stdout] test values::tests::this_json_must_be_deserialized_as_empty_project ... ok [INFO] [stdout] test values::tests::this_json_must_be_deserialized_as_project ... ok [INFO] [stdout] test values::tests::this_json_must_be_deserialized_as_user ... ok [INFO] [stdout] test message::tests::get_sorted_dates_in_period_must_return_dates_in_the_given_period ... ok [INFO] [stdout] test message::tests::round_minutes_to_hour_must_1h14min_to_1hour ... ok [INFO] [stdout] test message::tests::round_minutes_to_hour_must_1h15min_to_1_5hour ... ok [INFO] [stdout] test message::tests::round_minutes_to_hour_must_1h44min_to_1_5hour ... ok [INFO] [stdout] test message::tests::sumup_durations_must_sum_up_2_elements_which_have_the_same_record_key ... ok [INFO] [stdout] test message::tests::round_minutes_to_hour_must_1h45min_to_1_5hour ... ok [INFO] [stdout] test toggl::tests::convert_summary_to_hashmap_must_work_well ... ok [INFO] [stdout] test values::tests::this_empty_json_must_be_deserialized_as_empty_project ... ok [INFO] [stdout] test message::tests::write_csv_must_return_ ... ok [INFO] [stdout] test toggl::tests::convert_details_to_vec_must_work ... ok [INFO] [stdout] test message::tests::search_duration_time_must_return_the_corresponding_duration_time_when_it_exists ... ok [INFO] [stdout] test message::tests::get_project_message_title_must_return_title_text ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/toggl2slack-510cc20aab065045) [INFO] [stdout] test message::tests::get_sorted_dates_in_period_must_panic_if_end_is_prior_to_begin - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests toggl2slack [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ce0880abe050c3237d8424f118b910328bd300b8d22770269989c292fe15f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce0880abe050c3237d8424f118b910328bd300b8d22770269989c292fe15f3c", kill_on_drop: false }` [INFO] [stdout] 8ce0880abe050c3237d8424f118b910328bd300b8d22770269989c292fe15f3c