[INFO] cloning repository https://github.com/sunnyrust/releasenote
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunnyrust/releasenote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunnyrust%2Freleasenote", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunnyrust%2Freleasenote'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b2f280ad98fba957d48b6d1fb9034b5ee62c2ed
[INFO] checking sunnyrust/releasenote against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunnyrust%2Freleasenote" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sunnyrust/releasenote on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sunnyrust/releasenote
[INFO] finished tweaking git repo https://github.com/sunnyrust/releasenote
[INFO] tweaked toml for git repo https://github.com/sunnyrust/releasenote written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/sunnyrust/releasenote 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded encodingbufreader v0.1.1
[INFO] [stderr] Downloaded utf8parse v0.1.1
[INFO] [stderr] Downloaded rustyline v5.0.6
[INFO] [stderr] Downloaded rusqlite v0.21.0
[INFO] [stderr] Downloaded markdown v0.2.0
[INFO] [stderr] Downloaded libsqlite3-sys v0.17.1
[INFO] [stderr] Downloaded pipeline v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25417ecba280d21edb878d00cba981f5eb1b7301dd4620237eafa2bf0ffdbb64
[INFO] running `Command { std: "docker" "start" "-a" "25417ecba280d21edb878d00cba981f5eb1b7301dd4620237eafa2bf0ffdbb64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25417ecba280d21edb878d00cba981f5eb1b7301dd4620237eafa2bf0ffdbb64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25417ecba280d21edb878d00cba981f5eb1b7301dd4620237eafa2bf0ffdbb64", kill_on_drop: false }`
[INFO] [stdout] 25417ecba280d21edb878d00cba981f5eb1b7301dd4620237eafa2bf0ffdbb64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c120a208e898cc25801ebc0e99d64649c6b09a796a054f66f6f7d2de00edb75
[INFO] running `Command { std: "docker" "start" "-a" "6c120a208e898cc25801ebc0e99d64649c6b09a796a054f66f6f7d2de00edb75", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.67
[INFO] [stderr] Compiling proc-macro2 v1.0.9
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Checking encoding_index_tests v0.1.4
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling winapi-build v0.1.1
[INFO] [stderr] Compiling syn v1.0.16
[INFO] [stderr] Checking winapi v0.2.8
[INFO] [stderr] Compiling memchr v2.3.3
[INFO] [stderr] Compiling serde v1.0.104
[INFO] [stderr] Compiling pkg-config v0.3.17
[INFO] [stderr] Compiling ryu v1.0.2
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Compiling nix v0.14.1
[INFO] [stderr] Checking void v1.0.2
[INFO] [stderr] Checking regex-syntax v0.3.9
[INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr] Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr] Compiling kernel32-sys v0.2.2
[INFO] [stderr] Checking encoding-index-korean v1.20141219.5
[INFO] [stderr] Checking linked-hash-map v0.5.2
[INFO] [stderr] Checking utf8-ranges v0.1.3
[INFO] [stderr] Checking itoa v0.4.5
[INFO] [stderr] Checking utf8parse v0.1.1
[INFO] [stderr] Compiling num-traits v0.2.11
[INFO] [stderr] Compiling num-integer v0.1.42
[INFO] [stderr] Checking pipeline v0.5.0
[INFO] [stderr] Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr] Checking unicode-segmentation v1.6.0
[INFO] [stderr] Checking fallible-iterator v0.2.0
[INFO] [stderr] Checking lru-cache v0.1.2
[INFO] [stderr] Checking ansi_term v0.12.1
[INFO] [stderr] Checking encoding v0.2.33
[INFO] [stderr] Compiling libsqlite3-sys v0.17.1
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Checking encodingbufreader v0.1.1
[INFO] [stderr] Checking thread-id v2.0.0
[INFO] [stderr] Checking memchr v0.1.11
[INFO] [stderr] Checking dirs-sys v0.3.4
[INFO] [stderr] Checking time v0.1.42
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking thread_local v0.2.7
[INFO] [stderr] Checking clap v2.33.0
[INFO] [stderr] Checking aho-corasick v0.5.3
[INFO] [stderr] Checking dirs v2.0.2
[INFO] [stderr] Checking regex v0.1.80
[INFO] [stderr] Checking markdown v0.2.0
[INFO] [stderr] Compiling serde_derive v1.0.104
[INFO] [stderr] Checking rustyline v5.0.6
[INFO] [stderr] Checking chrono v0.4.11
[INFO] [stderr] Checking serde_json v1.0.48
[INFO] [stderr] Checking rusqlite v0.21.0
[INFO] [stderr] Checking releasenote v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `tr_tmp` is never read
[INFO] [stdout] --> src/main.rs:110:17
[INFO] [stdout] |
[INFO] [stdout] 110 | let mut tr_tmp = String::new();
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `tr_tmp` is never read
[INFO] [stdout] --> src/main.rs:110:17
[INFO] [stdout] |
[INFO] [stdout] 110 | let mut tr_tmp = String::new();
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:118:13
[INFO] [stdout] |
[INFO] [stdout] 118 | let mut name=(r.name).to_string()+"
("+&(r.owner).to_string()+")"+"
("+&(r.env).to_string()+")";
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:118:13
[INFO] [stdout] |
[INFO] [stdout] 118 | let mut name=(r.name).to_string()+"
("+&(r.owner).to_string()+")"+"
("+&(r.env).to_string()+")";
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `MARKDOWN_NAME` is never used
[INFO] [stdout] --> src/main.rs:21:7
[INFO] [stdout] |
[INFO] [stdout] 21 | const MARKDOWN_NAME: &'static str = "releaseNote.md";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `MARKDOWN_NAME` is never used
[INFO] [stdout] --> src/main.rs:21:7
[INFO] [stdout] |
[INFO] [stdout] 21 | const MARKDOWN_NAME: &'static str = "releaseNote.md";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/main.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 28 | impl MyError {
[INFO] [stdout] | ------------ associated function in this implementation
[INFO] [stdout] 29 | fn new(msg: &str) -> MyError {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/main.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 28 | impl MyError {
[INFO] [stdout] | ------------ associated function in this implementation
[INFO] [stdout] 29 | fn new(msg: &str) -> MyError {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.01s
[INFO] running `Command { std: "docker" "inspect" "6c120a208e898cc25801ebc0e99d64649c6b09a796a054f66f6f7d2de00edb75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c120a208e898cc25801ebc0e99d64649c6b09a796a054f66f6f7d2de00edb75", kill_on_drop: false }`
[INFO] [stdout] 6c120a208e898cc25801ebc0e99d64649c6b09a796a054f66f6f7d2de00edb75
[INFO] checking sunnyrust/releasenote against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunnyrust%2Freleasenote" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sunnyrust/releasenote on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sunnyrust/releasenote
[INFO] finished tweaking git repo https://github.com/sunnyrust/releasenote
[INFO] tweaked toml for git repo https://github.com/sunnyrust/releasenote written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/sunnyrust/releasenote 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c2a45afc439ff37e9ba5c3972633c0f160e846627565d1ae426a81f6feca253
[INFO] running `Command { std: "docker" "start" "-a" "3c2a45afc439ff37e9ba5c3972633c0f160e846627565d1ae426a81f6feca253", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c2a45afc439ff37e9ba5c3972633c0f160e846627565d1ae426a81f6feca253", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c2a45afc439ff37e9ba5c3972633c0f160e846627565d1ae426a81f6feca253", kill_on_drop: false }`
[INFO] [stdout] 3c2a45afc439ff37e9ba5c3972633c0f160e846627565d1ae426a81f6feca253
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f5f6553060f6f57eeecf4dff60f91be601409392ae5e54cc23a04b030ae05f3
[INFO] running `Command { std: "docker" "start" "-a" "6f5f6553060f6f57eeecf4dff60f91be601409392ae5e54cc23a04b030ae05f3", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.67
[INFO] [stderr] Compiling proc-macro2 v1.0.9
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling winapi-build v0.1.1
[INFO] [stderr] Checking encoding_index_tests v0.1.4
[INFO] [stderr] Compiling syn v1.0.16
[INFO] [stderr] Checking winapi v0.2.8
[INFO] [stderr] Compiling memchr v2.3.3
[INFO] [stderr] Compiling serde v1.0.104
[INFO] [stderr] Compiling pkg-config v0.3.17
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Compiling ryu v1.0.2
[INFO] [stderr] Compiling nix v0.14.1
[INFO] [stderr] Checking regex-syntax v0.3.9
[INFO] [stderr] Checking void v1.0.2
[INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr] Checking encoding-index-korean v1.20141219.5
[INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr] Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr] Compiling kernel32-sys v0.2.2
[INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr] Checking linked-hash-map v0.5.2
[INFO] [stderr] Checking utf8-ranges v0.1.3
[INFO] [stderr] Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr] Compiling num-traits v0.2.11
[INFO] [stderr] Compiling num-integer v0.1.42
[INFO] [stderr] Checking unicode-segmentation v1.6.0
[INFO] [stderr] Checking fallible-iterator v0.2.0
[INFO] [stderr] Checking pipeline v0.5.0
[INFO] [stderr] Checking lru-cache v0.1.2
[INFO] [stderr] Checking itoa v0.4.5
[INFO] [stderr] Checking utf8parse v0.1.1
[INFO] [stderr] Checking ansi_term v0.12.1
[INFO] [stderr] Checking encoding v0.2.33
[INFO] [stderr] Compiling libsqlite3-sys v0.17.1
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Checking encodingbufreader v0.1.1
[INFO] [stderr] Checking memchr v0.1.11
[INFO] [stderr] Checking thread-id v2.0.0
[INFO] [stderr] Checking time v0.1.42
[INFO] [stderr] Checking dirs-sys v0.3.4
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking thread_local v0.2.7
[INFO] [stderr] Checking clap v2.33.0
[INFO] [stderr] Checking aho-corasick v0.5.3
[INFO] [stderr] Checking dirs v2.0.2
[INFO] [stderr] Checking regex v0.1.80
[INFO] [stderr] Checking markdown v0.2.0
[INFO] [stderr] Compiling serde_derive v1.0.104
[INFO] [stderr] Checking rustyline v5.0.6
[INFO] [stderr] Checking chrono v0.4.11
[INFO] [stderr] Checking serde_json v1.0.48
[INFO] [stderr] Checking rusqlite v0.21.0
[INFO] [stderr] Checking releasenote v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `tr_tmp` is never read
[INFO] [stdout] --> src/main.rs:110:17
[INFO] [stdout] |
[INFO] [stdout] 110 | let mut tr_tmp = String::new();
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `tr_tmp` is never read
[INFO] [stdout] --> src/main.rs:110:17
[INFO] [stdout] |
[INFO] [stdout] 110 | let mut tr_tmp = String::new();
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:118:13
[INFO] [stdout] |
[INFO] [stdout] 118 | let mut name=(r.name).to_string()+"
("+&(r.owner).to_string()+")"+"
("+&(r.env).to_string()+")";
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:118:13
[INFO] [stdout] |
[INFO] [stdout] 118 | let mut name=(r.name).to_string()+"
("+&(r.owner).to_string()+")"+"
("+&(r.env).to_string()+")";
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `MARKDOWN_NAME` is never used
[INFO] [stdout] --> src/main.rs:21:7
[INFO] [stdout] |
[INFO] [stdout] 21 | const MARKDOWN_NAME: &'static str = "releaseNote.md";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `MARKDOWN_NAME` is never used
[INFO] [stdout] --> src/main.rs:21:7
[INFO] [stdout] |
[INFO] [stdout] 21 | const MARKDOWN_NAME: &'static str = "releaseNote.md";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/main.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 28 | impl MyError {
[INFO] [stdout] | ------------ associated function in this implementation
[INFO] [stdout] 29 | fn new(msg: &str) -> MyError {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/main.rs:29:8
[INFO] [stdout] |
[INFO] [stdout] 28 | impl MyError {
[INFO] [stdout] | ------------ associated function in this implementation
[INFO] [stdout] 29 | fn new(msg: &str) -> MyError {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout] --> src/main.rs:46:10
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Serialize, Deserialize)]
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Releasenote`
[INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout] --> src/main.rs:46:10
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Serialize, Deserialize)]
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Releasenote`
[INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout] --> src/main.rs:46:21
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Serialize, Deserialize)]
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Releasenote`
[INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout] --> src/main.rs:46:21
[INFO] [stdout] |
[INFO] [stdout] 46 | #[derive(Serialize, Deserialize)]
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Releasenote`
[INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `releasenote` (bin "releasenote") due to 3 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `releasenote` (bin "releasenote" test) due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6f5f6553060f6f57eeecf4dff60f91be601409392ae5e54cc23a04b030ae05f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f5f6553060f6f57eeecf4dff60f91be601409392ae5e54cc23a04b030ae05f3", kill_on_drop: false }`
[INFO] [stdout] 6f5f6553060f6f57eeecf4dff60f91be601409392ae5e54cc23a04b030ae05f3