[INFO] updating cached repository muktakosh/unicorn [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/muktakosh/unicorn [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/muktakosh/unicorn" "work/ex/clippy-test-run/sources/stable/gh/muktakosh/unicorn"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/muktakosh/unicorn'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/muktakosh/unicorn" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/muktakosh/unicorn"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/muktakosh/unicorn'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 55b0a35021b16ac3e8ca162e57bd8c70748fbf0b [INFO] sha for GitHub repo muktakosh/unicorn: 55b0a35021b16ac3e8ca162e57bd8c70748fbf0b [INFO] validating manifest of muktakosh/unicorn on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of muktakosh/unicorn on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing muktakosh/unicorn [INFO] finished frobbing muktakosh/unicorn [INFO] frobbed toml for muktakosh/unicorn written to work/ex/clippy-test-run/sources/stable/gh/muktakosh/unicorn/Cargo.toml [INFO] started frobbing muktakosh/unicorn [INFO] finished frobbing muktakosh/unicorn [INFO] frobbed toml for muktakosh/unicorn written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/muktakosh/unicorn/Cargo.toml [INFO] crate muktakosh/unicorn has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting muktakosh/unicorn against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/muktakosh/unicorn:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c01e66d66bd1129ac9cf3b339210c84398793c919d1ce1263cb1bdd561f84329 [INFO] running `"docker" "start" "-a" "c01e66d66bd1129ac9cf3b339210c84398793c919d1ce1263cb1bdd561f84329"` [INFO] [stderr] Compiling syntex_pos v0.52.0 [INFO] [stderr] Compiling syn v0.10.5 [INFO] [stderr] Checking net2 v0.2.26 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Compiling term v0.4.4 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Compiling syntex_errors v0.52.0 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Compiling syntex_syntax v0.52.0 [INFO] [stderr] Checking ws v0.5.3 [INFO] [stderr] Compiling syntex v0.52.0 [INFO] [stderr] Compiling serde_codegen v0.8.21 [INFO] [stderr] Compiling libunicorn v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/api/topic.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | tx: tx, [INFO] [stderr] | ^^^^^^ help: replace it with: `tx` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | id: id, [INFO] [stderr] | ^^^^^^ help: replace it with: `id` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/api/topic.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | tx: tx, [INFO] [stderr] | ^^^^^^ help: replace it with: `tx` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | id: id, [INFO] [stderr] | ^^^^^^ help: replace it with: `id` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:143:36 [INFO] [stderr] | [INFO] [stderr] 143 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:143:46 [INFO] [stderr] | [INFO] [stderr] 143 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:302:36 [INFO] [stderr] | [INFO] [stderr] 302 | const FIELDS: &'static [&'static str] = &["services"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:302:46 [INFO] [stderr] | [INFO] [stderr] 302 | const FIELDS: &'static [&'static str] = &["services"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:469:36 [INFO] [stderr] | [INFO] [stderr] 469 | const FIELDS: &'static [&'static str] = &["ip", "port"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:469:46 [INFO] [stderr] | [INFO] [stderr] 469 | const FIELDS: &'static [&'static str] = &["ip", "port"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:629:36 [INFO] [stderr] | [INFO] [stderr] 629 | const FIELDS: &'static [&'static str] = &["topic_id"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:629:46 [INFO] [stderr] | [INFO] [stderr] 629 | const FIELDS: &'static [&'static str] = &["topic_id"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:808:36 [INFO] [stderr] | [INFO] [stderr] 808 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:808:46 [INFO] [stderr] | [INFO] [stderr] 808 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1024:36 [INFO] [stderr] | [INFO] [stderr] 1024 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1024:46 [INFO] [stderr] | [INFO] [stderr] 1024 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1176:36 [INFO] [stderr] | [INFO] [stderr] 1176 | const FIELDS: &'static [&'static str] = &["method"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1176:46 [INFO] [stderr] | [INFO] [stderr] 1176 | const FIELDS: &'static [&'static str] = &["method"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1353:36 [INFO] [stderr] | [INFO] [stderr] 1353 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1353:46 [INFO] [stderr] | [INFO] [stderr] 1353 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1534:36 [INFO] [stderr] | [INFO] [stderr] 1534 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1534:46 [INFO] [stderr] | [INFO] [stderr] 1534 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1740:36 [INFO] [stderr] | [INFO] [stderr] 1740 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1740:46 [INFO] [stderr] | [INFO] [stderr] 1740 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:143:36 [INFO] [stderr] | [INFO] [stderr] 143 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:143:46 [INFO] [stderr] | [INFO] [stderr] 143 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:302:36 [INFO] [stderr] | [INFO] [stderr] 302 | const FIELDS: &'static [&'static str] = &["services"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:302:46 [INFO] [stderr] | [INFO] [stderr] 302 | const FIELDS: &'static [&'static str] = &["services"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:469:36 [INFO] [stderr] | [INFO] [stderr] 469 | const FIELDS: &'static [&'static str] = &["ip", "port"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:469:46 [INFO] [stderr] | [INFO] [stderr] 469 | const FIELDS: &'static [&'static str] = &["ip", "port"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:629:36 [INFO] [stderr] | [INFO] [stderr] 629 | const FIELDS: &'static [&'static str] = &["topic_id"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:629:46 [INFO] [stderr] | [INFO] [stderr] 629 | const FIELDS: &'static [&'static str] = &["topic_id"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:808:36 [INFO] [stderr] | [INFO] [stderr] 808 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:808:46 [INFO] [stderr] | [INFO] [stderr] 808 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1024:36 [INFO] [stderr] | [INFO] [stderr] 1024 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1024:46 [INFO] [stderr] | [INFO] [stderr] 1024 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1176:36 [INFO] [stderr] | [INFO] [stderr] 1176 | const FIELDS: &'static [&'static str] = &["method"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1176:46 [INFO] [stderr] | [INFO] [stderr] 1176 | const FIELDS: &'static [&'static str] = &["method"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1353:36 [INFO] [stderr] | [INFO] [stderr] 1353 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1353:46 [INFO] [stderr] | [INFO] [stderr] 1353 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1534:36 [INFO] [stderr] | [INFO] [stderr] 1534 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1534:46 [INFO] [stderr] | [INFO] [stderr] 1534 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1740:36 [INFO] [stderr] | [INFO] [stderr] 1740 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1740:46 [INFO] [stderr] | [INFO] [stderr] 1740 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/router.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | if let Some(mut t) = self.topics.get_mut(topic_id) { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/router.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | if let Some(mut t) = self.topics.get_mut(topic_id) { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `network::websocket::APIHandler<'a, H>` [INFO] [stderr] --> src/network/websocket.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / pub fn new() -> Self { [INFO] [stderr] 26 | | APIHandler { handlers: HashMap::new() } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `network::websocket::WebSocket<'a, H>` [INFO] [stderr] --> src/network/websocket.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | / pub fn new() -> Self { [INFO] [stderr] 143 | | // Do more stuff here [INFO] [stderr] 144 | | WebSocket { [INFO] [stderr] 145 | | sock: None, [INFO] [stderr] 146 | | handler: APIHandler::new(), [INFO] [stderr] 147 | | } [INFO] [stderr] 148 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 141 | impl Default for network::websocket::WebSocket<'a, H> { [INFO] [stderr] 142 | fn default() -> Self { [INFO] [stderr] 143 | Self::new() [INFO] [stderr] 144 | } [INFO] [stderr] 145 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `network::websocket::APIHandler<'a, H>` [INFO] [stderr] --> src/network/websocket.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / pub fn new() -> Self { [INFO] [stderr] 26 | | APIHandler { handlers: HashMap::new() } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:161:45 [INFO] [stderr] | [INFO] [stderr] 161 | "NewAccount" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] warning: you should consider adding a `Default` implementation for `network::websocket::WebSocket<'a, H>` [INFO] [stderr] --> src/network/websocket.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | / pub fn new() -> Self { [INFO] [stderr] 143 | | // Do more stuff here [INFO] [stderr] 144 | | WebSocket { [INFO] [stderr] 145 | | sock: None, [INFO] [stderr] 146 | | handler: APIHandler::new(), [INFO] [stderr] 147 | | } [INFO] [stderr] 148 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 141 | impl Default for network::websocket::WebSocket<'a, H> { [INFO] [stderr] 142 | fn default() -> Self { [INFO] [stderr] 143 | Self::new() [INFO] [stderr] 144 | } [INFO] [stderr] 145 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:318:74 [INFO] [stderr] | [INFO] [stderr] 318 | try!(_serializer . serialize_struct ( "Config" , 0 + 1 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:486:42 [INFO] [stderr] | [INFO] [stderr] 486 | "Service" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:161:45 [INFO] [stderr] | [INFO] [stderr] 161 | "NewAccount" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:318:74 [INFO] [stderr] | [INFO] [stderr] 318 | try!(_serializer . serialize_struct ( "Config" , 0 + 1 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:646:46 [INFO] [stderr] | [INFO] [stderr] 646 | "TopicCreate" , 0 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:486:42 [INFO] [stderr] | [INFO] [stderr] 486 | "Service" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:646:46 [INFO] [stderr] | [INFO] [stderr] 646 | "TopicCreate" , 0 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:826:49 [INFO] [stderr] | [INFO] [stderr] 826 | "TopicSubscribe" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:826:49 [INFO] [stderr] | [INFO] [stderr] 826 | "TopicSubscribe" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1042:47 [INFO] [stderr] | [INFO] [stderr] 1042 | "TopicPublish" , 0 + 1 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1193:49 [INFO] [stderr] | [INFO] [stderr] 1193 | "MessageRequest" , 0 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1042:47 [INFO] [stderr] | [INFO] [stderr] 1042 | "TopicPublish" , 0 + 1 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1373:53 [INFO] [stderr] | [INFO] [stderr] 1373 | "MessageRequestText" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1193:49 [INFO] [stderr] | [INFO] [stderr] 1193 | "MessageRequest" , 0 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1552:55 [INFO] [stderr] | [INFO] [stderr] 1552 | "MessageRequestBinary" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1758:50 [INFO] [stderr] | [INFO] [stderr] 1758 | "MessageResponse" , 0 + 1 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1373:53 [INFO] [stderr] | [INFO] [stderr] 1373 | "MessageRequestText" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1552:55 [INFO] [stderr] | [INFO] [stderr] 1552 | "MessageRequestBinary" , 0 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> /opt/crater/target/debug/build/libunicorn-5fc5afe32abaeff6/out/schema.rs:1758:50 [INFO] [stderr] | [INFO] [stderr] 1758 | "MessageResponse" , 0 + 1 + 1 + 1 )); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `"docker" "inspect" "c01e66d66bd1129ac9cf3b339210c84398793c919d1ce1263cb1bdd561f84329"` [INFO] running `"docker" "rm" "-f" "c01e66d66bd1129ac9cf3b339210c84398793c919d1ce1263cb1bdd561f84329"` [INFO] [stdout] c01e66d66bd1129ac9cf3b339210c84398793c919d1ce1263cb1bdd561f84329