[INFO] cloning repository https://github.com/rongfengliang/rust-mod-workspace
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rongfengliang/rust-mod-workspace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4ae69f044a445c3822b510f7baf49055f4914db
[INFO] checking rongfengliang/rust-mod-workspace against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rongfengliang/rust-mod-workspace 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/rongfengliang/rust-mod-workspace
[INFO] finished tweaking git repo https://github.com/rongfengliang/rust-mod-workspace
[INFO] tweaked toml for git repo https://github.com/rongfengliang/rust-mod-workspace written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/rongfengliang/rust-mod-workspace 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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded termion v1.5.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6007fe8141874360123d038582ddf551f7613e7d2d51d95d2d4b1cafee147a74
[INFO] running `Command { std: "docker" "start" "-a" "6007fe8141874360123d038582ddf551f7613e7d2d51d95d2d4b1cafee147a74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6007fe8141874360123d038582ddf551f7613e7d2d51d95d2d4b1cafee147a74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6007fe8141874360123d038582ddf551f7613e7d2d51d95d2d4b1cafee147a74", kill_on_drop: false }`
[INFO] [stdout] 6007fe8141874360123d038582ddf551f7613e7d2d51d95d2d4b1cafee147a74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4e60320a24517c5fef387af947d83e83bfb755811e4eb413f6a81b852b788795
[INFO] running `Command { std: "docker" "start" "-a" "4e60320a24517c5fef387af947d83e83bfb755811e4eb413f6a81b852b788795", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v0.15.38
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling serde v1.0.93
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]     Checking users v0.1.0 (/opt/rustwide/workdir/lib/users)
[INFO] [stderr]     Checking libmods v0.1.0 (/opt/rustwide/workdir/lib/libmods)
[INFO] [stderr]     Checking macros_lib v0.1.0 (/opt/rustwide/workdir/learning/macros_lib)
[INFO] [stderr]     Checking app-modmetrics v0.1.0 (/opt/rustwide/workdir/lib/modmetrics)
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking moddemo v0.1.0 (/opt/rustwide/workdir/lib/moddemo)
[INFO] [stderr]     Checking closure v0.1.0 (/opt/rustwide/workdir/learning/closure)
[INFO] [stderr]     Checking arrays v0.1.0 (/opt/rustwide/workdir/learning/arrays)
[INFO] [stderr]     Checking function v0.1.0 (/opt/rustwide/workdir/learning/function)
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stdout] warning: constant `X` is never used
[INFO] [stdout]   --> lib/users/src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     const X: i32 = 10;
[INFO] [stdout]    |           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking matchs v0.1.0 (/opt/rustwide/workdir/learning/matchs)
[INFO] [stdout] warning: value assigned to `myfn` is never read
[INFO] [stdout]   --> learning/function/src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut myfn:fn(first:i32,second: i32)->i32= add;
[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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking lifetime v0.1.0 (/opt/rustwide/workdir/learning/lifetime)
[INFO] [stderr]     Checking traits v0.1.0 (/opt/rustwide/workdir/learning/traits)
[INFO] [stdout] warning: value assigned to `myfn` is never read
[INFO] [stdout]   --> learning/function/src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut myfn:fn(first:i32,second: i32)->i32= add;
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> learning/closure/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_adder` is never used
[INFO] [stdout]  --> learning/closure/src/main.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rong::Rong`
[INFO] [stdout]  --> learning/lifetime/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rong::Rong;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> learning/matchs/src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut  usertoken: Option<String> = Some("dalongdemo".into());
[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: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout]    |           ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout] 12 +        if username=="dalong"&&userpassword=="dalong" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking usersmain v0.1.0 (/opt/rustwide/workdir/lib/usersmain)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rong = Rong{first_name:"dalong",second_name:"demoapp",third_name:"demoapp"};
[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: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |        if (self.name==username && self.password==userpassword){
[INFO] [stdout]    |           ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -        if (self.name==username && self.password==userpassword){
[INFO] [stdout] 21 +        if self.name==username && self.password==userpassword {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rong::Rong`
[INFO] [stdout]  --> learning/lifetime/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rong::Rong;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `printname` and `demo` are never used
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:9:11
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl<'a>  Rong<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 9  |    pub fn printname(&self) {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |    pub fn demo(){
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rc-demo v0.1.0 (/opt/rustwide/workdir/learning/rc-demo)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout]    |           ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout] 12 +        if username=="dalong"&&userpassword=="dalong" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |        if (self.name==username && self.password==userpassword){
[INFO] [stdout]    |           ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -        if (self.name==username && self.password==userpassword){
[INFO] [stdout] 21 +        if self.name==username && self.password==userpassword {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rong = Rong{first_name:"dalong",second_name:"demoapp",third_name:"demoapp"};
[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] [stderr]     Checking macros v0.1.0 (/opt/rustwide/workdir/learning/macros)
[INFO] [stdout] warning: associated items `printname` and `demo` are never used
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:9:11
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl<'a>  Rong<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 9  |    pub fn printname(&self) {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |    pub fn demo(){
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> learning/matchs/src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut  usertoken: Option<String> = Some("dalongdemo".into());
[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: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moddemo`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let moddemo =UserLogin{name:"dlaongdemo".into()};
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moddemo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `appdefaultop2`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let appdefaultop2 = appdefault.add();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_appdefaultop2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moddemo`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let moddemo =UserLogin{name:"dlaongdemo".into()};
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moddemo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `appdefaultop2`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let appdefaultop2 = appdefault.add();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_appdefaultop2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]  --> learning/macros/src/macros.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |         println!("{}","this is a demo");
[INFO] [stdout]   |                                        ^
[INFO] [stdout]   |
[INFO] [stdout]  ::: learning/macros/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     dalong_demo!()
[INFO] [stdout]   |     -------------- in this macro invocation
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]   = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]   = note: to ignore the value produced by the macro, add a semicolon after the invocation of `dalong_demo`
[INFO] [stdout]   = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]   = note: this warning originates in the macro `dalong_demo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]  --> learning/macros/src/macros.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |         println!("{}","this is a demo");
[INFO] [stdout]   |                                        ^
[INFO] [stdout]   |
[INFO] [stdout]  ::: learning/macros/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     dalong_demo!()
[INFO] [stdout]   |     -------------- in this macro invocation
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]   = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]   = note: to ignore the value produced by the macro, add a semicolon after the invocation of `dalong_demo`
[INFO] [stdout]   = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]   = note: this warning originates in the macro `dalong_demo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> learning/closure/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `X` is never used
[INFO] [stdout]   --> lib/users/src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     const X: i32 = 10;
[INFO] [stdout]    |           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_adder` is never used
[INFO] [stdout]  --> learning/closure/src/main.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling serde_derive v1.0.93
[INFO] [stderr]     Checking cliapp v0.1.0 (/opt/rustwide/workdir/learning/cliapp)
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking mod-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `aaa`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use users::{user,aaa};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aaa`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use users::{user,aaa};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn demo(){
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn demo(){
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.75s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: macros v0.1.0 (/opt/rustwide/workdir/learning/macros)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "4e60320a24517c5fef387af947d83e83bfb755811e4eb413f6a81b852b788795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e60320a24517c5fef387af947d83e83bfb755811e4eb413f6a81b852b788795", kill_on_drop: false }`
[INFO] [stdout] 4e60320a24517c5fef387af947d83e83bfb755811e4eb413f6a81b852b788795
[INFO] checking rongfengliang/rust-mod-workspace 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%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rongfengliang/rust-mod-workspace 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/rongfengliang/rust-mod-workspace
[INFO] finished tweaking git repo https://github.com/rongfengliang/rust-mod-workspace
[INFO] tweaked toml for git repo https://github.com/rongfengliang/rust-mod-workspace written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/rongfengliang/rust-mod-workspace 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 81c3e49d5dfbcab27f47b3138afb7ddb2568877d8c72cc6316a61e0dc9ab942d
[INFO] running `Command { std: "docker" "start" "-a" "81c3e49d5dfbcab27f47b3138afb7ddb2568877d8c72cc6316a61e0dc9ab942d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81c3e49d5dfbcab27f47b3138afb7ddb2568877d8c72cc6316a61e0dc9ab942d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81c3e49d5dfbcab27f47b3138afb7ddb2568877d8c72cc6316a61e0dc9ab942d", kill_on_drop: false }`
[INFO] [stdout] 81c3e49d5dfbcab27f47b3138afb7ddb2568877d8c72cc6316a61e0dc9ab942d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5d72f806361f096d9de102122c69ecc05f5a0a05323105f12bcd3e1fea0a699c
[INFO] running `Command { std: "docker" "start" "-a" "5d72f806361f096d9de102122c69ecc05f5a0a05323105f12bcd3e1fea0a699c", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v0.15.38
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling serde v1.0.93
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]     Checking users v0.1.0 (/opt/rustwide/workdir/lib/users)
[INFO] [stderr]     Checking app-modmetrics v0.1.0 (/opt/rustwide/workdir/lib/modmetrics)
[INFO] [stderr]     Checking moddemo v0.1.0 (/opt/rustwide/workdir/lib/moddemo)
[INFO] [stderr]     Checking libmods v0.1.0 (/opt/rustwide/workdir/lib/libmods)
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking macros_lib v0.1.0 (/opt/rustwide/workdir/learning/macros_lib)
[INFO] [stderr]     Checking closure v0.1.0 (/opt/rustwide/workdir/learning/closure)
[INFO] [stderr]     Checking rc-demo v0.1.0 (/opt/rustwide/workdir/learning/rc-demo)
[INFO] [stderr]     Checking traits v0.1.0 (/opt/rustwide/workdir/learning/traits)
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> learning/closure/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_adder` is never used
[INFO] [stdout]  --> learning/closure/src/main.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout]    |           ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout] 12 +        if username=="dalong"&&userpassword=="dalong" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |        if (self.name==username && self.password==userpassword){
[INFO] [stdout]    |           ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -        if (self.name==username && self.password==userpassword){
[INFO] [stdout] 21 +        if self.name==username && self.password==userpassword {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking lifetime v0.1.0 (/opt/rustwide/workdir/learning/lifetime)
[INFO] [stdout] warning: constant `X` is never used
[INFO] [stdout]   --> lib/users/src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     const X: i32 = 10;
[INFO] [stdout]    |           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking arrays v0.1.0 (/opt/rustwide/workdir/learning/arrays)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking usersmain v0.1.0 (/opt/rustwide/workdir/lib/usersmain)
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rong::Rong`
[INFO] [stdout]  --> learning/lifetime/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rong::Rong;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> learning/closure/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rong::Rong`
[INFO] [stdout]  --> learning/lifetime/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rong::Rong;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_adder` is never used
[INFO] [stdout]  --> learning/closure/src/main.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn make_adder(x:i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking function v0.1.0 (/opt/rustwide/workdir/learning/function)
[INFO] [stderr]     Checking matchs v0.1.0 (/opt/rustwide/workdir/learning/matchs)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rong = Rong{first_name:"dalong",second_name:"demoapp",third_name:"demoapp"};
[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: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `printname` and `demo` are never used
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:9:11
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl<'a>  Rong<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 9  |    pub fn printname(&self) {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |    pub fn demo(){
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking macros v0.1.0 (/opt/rustwide/workdir/learning/macros)
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rong = Rong{first_name:"dalong",second_name:"demoapp",third_name:"demoapp"};
[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: trailing semicolon in macro used in expression position
[INFO] [stdout]  --> learning/macros/src/macros.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |         println!("{}","this is a demo");
[INFO] [stdout]   |                                        ^
[INFO] [stdout]   |
[INFO] [stdout]  ::: learning/macros/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     dalong_demo!()
[INFO] [stdout]   |     -------------- in this macro invocation
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]   = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]   = note: to ignore the value produced by the macro, add a semicolon after the invocation of `dalong_demo`
[INFO] [stdout]   = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]   = note: this warning originates in the macro `dalong_demo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `printname` and `demo` are never used
[INFO] [stdout]   --> learning/lifetime/src/rong.rs:9:11
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl<'a>  Rong<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 9  |    pub fn printname(&self) {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |    pub fn demo(){
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moddemo`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let moddemo =UserLogin{name:"dlaongdemo".into()};
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moddemo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `appdefaultop2`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let appdefaultop2 = appdefault.add();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_appdefaultop2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> learning/matchs/src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut  usertoken: Option<String> = Some("dalongdemo".into());
[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: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `myfn` is never read
[INFO] [stdout]   --> learning/function/src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut myfn:fn(first:i32,second: i32)->i32= add;
[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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moddemo`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let moddemo =UserLogin{name:"dlaongdemo".into()};
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moddemo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `appdefaultop2`
[INFO] [stdout]   --> lib/usersmain/src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let appdefaultop2 = appdefault.add();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_appdefaultop2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `myfn` is never read
[INFO] [stdout]   --> learning/function/src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut myfn:fn(first:i32,second: i32)->i32= add;
[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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> learning/matchs/src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut  usertoken: Option<String> = Some("dalongdemo".into());
[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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `X` is never used
[INFO] [stdout]   --> lib/users/src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     const X: i32 = 10;
[INFO] [stdout]    |           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout]    |           ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -        if (username=="dalong"&&userpassword=="dalong") {
[INFO] [stdout] 12 +        if username=="dalong"&&userpassword=="dalong" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> learning/traits/src/app/defaultlogin.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |        if (self.name==username && self.password==userpassword){
[INFO] [stdout]    |           ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -        if (self.name==username && self.password==userpassword){
[INFO] [stdout] 21 +        if self.name==username && self.password==userpassword {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]  --> learning/macros/src/macros.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |         println!("{}","this is a demo");
[INFO] [stdout]   |                                        ^
[INFO] [stdout]   |
[INFO] [stdout]  ::: learning/macros/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     dalong_demo!()
[INFO] [stdout]   |     -------------- in this macro invocation
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]   = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]   = note: to ignore the value produced by the macro, add a semicolon after the invocation of `dalong_demo`
[INFO] [stdout]   = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]   = note: this warning originates in the macro `dalong_demo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling serde_derive v1.0.93
[INFO] [stderr]     Checking cliapp v0.1.0 (/opt/rustwide/workdir/learning/cliapp)
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking mod-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `aaa`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use users::{user,aaa};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aaa`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use users::{user,aaa};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn demo(){
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[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:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Point`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Point`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mod-app` (bin "mod-app") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: function `demo` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn demo(){
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[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:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Point`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Point`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mod-app` (bin "mod-app" test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5d72f806361f096d9de102122c69ecc05f5a0a05323105f12bcd3e1fea0a699c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d72f806361f096d9de102122c69ecc05f5a0a05323105f12bcd3e1fea0a699c", kill_on_drop: false }`
[INFO] [stdout] 5d72f806361f096d9de102122c69ecc05f5a0a05323105f12bcd3e1fea0a699c
