[INFO] cloning repository https://github.com/matthhan/rssidiot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthhan/rssidiot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthhan%2Frssidiot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthhan%2Frssidiot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 720360ab0664def967c2bac61163cafb2e3a0025 [INFO] checking matthhan/rssidiot against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthhan%2Frssidiot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthhan/rssidiot 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/matthhan/rssidiot [INFO] finished tweaking git repo https://github.com/matthhan/rssidiot [INFO] tweaked toml for git repo https://github.com/matthhan/rssidiot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matthhan/rssidiot 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] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded serde_json v1.0.22 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded serde_derive v1.0.68 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded serde v1.0.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 409515459fbeba0a15148dc9ce5708b0afca12e8ffcd88ab17c37b92891282a8 [INFO] running `Command { std: "docker" "start" "-a" "409515459fbeba0a15148dc9ce5708b0afca12e8ffcd88ab17c37b92891282a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "409515459fbeba0a15148dc9ce5708b0afca12e8ffcd88ab17c37b92891282a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409515459fbeba0a15148dc9ce5708b0afca12e8ffcd88ab17c37b92891282a8", kill_on_drop: false }` [INFO] [stdout] 409515459fbeba0a15148dc9ce5708b0afca12e8ffcd88ab17c37b92891282a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e7949cecb3f5797d5b63351775f657ba4dffbdbf0bcd6db97c90257807549b7c [INFO] running `Command { std: "docker" "start" "-a" "e7949cecb3f5797d5b63351775f657ba4dffbdbf0bcd6db97c90257807549b7c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling serde v1.0.68 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.68 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking rssidiot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circular_buffer.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &Fn(Option) -> T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &dyn Fn(Option) -> T) -> Self; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circular_buffer.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &Fn(Option) -> T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &dyn Fn(Option) -> T) -> Self; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/article.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Article { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new(title: String, url: String) -> Article { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_article` are never used [INFO] [stdout] --> src/feed.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Feed { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(name:String,url:String) -> Feed { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn add_article(self,art:Article) -> Feed { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/circular_buffer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CircularBuffer where T:Clone { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(size:usize) -> CircularBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add(self,thing: T) -> CircularBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_feed` are never used [INFO] [stdout] --> src/application.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ApplicationState { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> ApplicationState { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_feed(self, feed:Feed)-> ApplicationState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/circular_buffer.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for x in buf.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/circular_buffer.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | for x in buf.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_article` is never used [INFO] [stdout] --> src/feed.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Feed { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn add_article(self,art:Article) -> Feed { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_feed` is never used [INFO] [stdout] --> src/application.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ApplicationState { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_feed(self, feed:Feed)-> ApplicationState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e7949cecb3f5797d5b63351775f657ba4dffbdbf0bcd6db97c90257807549b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7949cecb3f5797d5b63351775f657ba4dffbdbf0bcd6db97c90257807549b7c", kill_on_drop: false }` [INFO] [stdout] e7949cecb3f5797d5b63351775f657ba4dffbdbf0bcd6db97c90257807549b7c [INFO] checking matthhan/rssidiot against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthhan%2Frssidiot" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthhan/rssidiot 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/matthhan/rssidiot [INFO] finished tweaking git repo https://github.com/matthhan/rssidiot [INFO] tweaked toml for git repo https://github.com/matthhan/rssidiot written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matthhan/rssidiot 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc1d98f12e9b9dfafe7a76b38226a45df3ed946b961b167aa00013415ef6bfb9 [INFO] running `Command { std: "docker" "start" "-a" "fc1d98f12e9b9dfafe7a76b38226a45df3ed946b961b167aa00013415ef6bfb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc1d98f12e9b9dfafe7a76b38226a45df3ed946b961b167aa00013415ef6bfb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc1d98f12e9b9dfafe7a76b38226a45df3ed946b961b167aa00013415ef6bfb9", kill_on_drop: false }` [INFO] [stdout] fc1d98f12e9b9dfafe7a76b38226a45df3ed946b961b167aa00013415ef6bfb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] a27d58176464963acbb8760564b0f5689961a4b998bbecd52a7ce36c5d143708 [INFO] running `Command { std: "docker" "start" "-a" "a27d58176464963acbb8760564b0f5689961a4b998bbecd52a7ce36c5d143708", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling serde v1.0.68 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.68 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking rssidiot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circular_buffer.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circular_buffer.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> CircularBuffer { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &Fn(Option) -> T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &dyn Fn(Option) -> T) -> Self; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &Fn(Option) -> T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | fn replace_at_index(&self, index:usize, f: &dyn Fn(Option) -> T) -> Self; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can_replace_at_index.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&Fn(Option) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | fn replace_at_index(&self,ind:usize,f:&dyn Fn(Option) -> T) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/article.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Article { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new(title: String, url: String) -> Article { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/circular_buffer.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for x in buf.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/circular_buffer.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | for x in buf.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_article` are never used [INFO] [stdout] --> src/feed.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Feed { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(name:String,url:String) -> Feed { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn add_article(self,art:Article) -> Feed { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/circular_buffer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CircularBuffer where T:Clone { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(size:usize) -> CircularBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add(self,thing: T) -> CircularBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_feed` are never used [INFO] [stdout] --> src/application.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ApplicationState { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> ApplicationState { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_feed(self, feed:Feed)-> ApplicationState { [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/article.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug,Clone,Serialize,Deserialize,Eq,PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Article` [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/article.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug,Clone,Serialize,Deserialize,Eq,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Article` [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/feed.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Feed` [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 `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/feed.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Feed` [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/circular_buffer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_CircularBuffer` [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 `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/circular_buffer.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_CircularBuffer` [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 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rssidiot` (lib) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `add_article` is never used [INFO] [stdout] --> src/feed.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Feed { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn add_article(self,art:Article) -> Feed { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_feed` is never used [INFO] [stdout] --> src/application.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ApplicationState { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_feed(self, feed:Feed)-> ApplicationState { [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/article.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug,Clone,Serialize,Deserialize,Eq,PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Article` [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/article.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug,Clone,Serialize,Deserialize,Eq,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Article` [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/feed.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Feed` [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 `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/feed.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Feed` [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/circular_buffer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_CircularBuffer` [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 `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/circular_buffer.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Serialize,Deserialize,PartialEq,Eq,Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_CircularBuffer` [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 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rssidiot` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a27d58176464963acbb8760564b0f5689961a4b998bbecd52a7ce36c5d143708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27d58176464963acbb8760564b0f5689961a4b998bbecd52a7ce36c5d143708", kill_on_drop: false }` [INFO] [stdout] a27d58176464963acbb8760564b0f5689961a4b998bbecd52a7ce36c5d143708