[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#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rongfengliang/rust-mod-workspace on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "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-1-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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.93 [INFO] [stderr] Downloaded serde_derive v1.0.93 [INFO] [stderr] Downloaded syn v0.15.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e11c521a628cbee9e52b0a9a7b24dacc411d44ceae43b45f8da6041e166c5735 [INFO] running `Command { std: "docker" "start" "-a" "e11c521a628cbee9e52b0a9a7b24dacc411d44ceae43b45f8da6041e166c5735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e11c521a628cbee9e52b0a9a7b24dacc411d44ceae43b45f8da6041e166c5735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11c521a628cbee9e52b0a9a7b24dacc411d44ceae43b45f8da6041e166c5735", kill_on_drop: false }` [INFO] [stdout] e11c521a628cbee9e52b0a9a7b24dacc411d44ceae43b45f8da6041e166c5735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 948f680b2116f7c2ec7da5a9f3328b210877c693ea7497444dd37846287078ae [INFO] running `Command { std: "docker" "start" "-a" "948f680b2116f7c2ec7da5a9f3328b210877c693ea7497444dd37846287078ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Checking users v0.1.0 (/opt/rustwide/workdir/lib/users) [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 unicode-width v0.1.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [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 macros_lib v0.1.0 (/opt/rustwide/workdir/learning/macros_lib) [INFO] [stderr] Checking function v0.1.0 (/opt/rustwide/workdir/learning/function) [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] [stderr] Checking macros v0.1.0 (/opt/rustwide/workdir/learning/macros) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking usersmain v0.1.0 (/opt/rustwide/workdir/lib/usersmain) [INFO] [stderr] Checking arrays v0.1.0 (/opt/rustwide/workdir/learning/arrays) [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 [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: 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] [stderr] Checking traits v0.1.0 (/opt/rustwide/workdir/learning/traits) [INFO] [stdout] warning: fields `first`, `second`, and `third` are never read [INFO] [stdout] --> lib/usersmain/src/app/add.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Add{ [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | pub first: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | pub second: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub third: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Add` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rong` is never constructed [INFO] [stdout] --> lib/usersmain/src/app/add.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Rong<'a>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rong` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: fields `first`, `second`, and `third` are never read [INFO] [stdout] --> lib/usersmain/src/app/add.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Add{ [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | pub first: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | pub second: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub third: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Add` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rong` is never constructed [INFO] [stdout] --> lib/usersmain/src/app/add.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Rong<'a>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rong` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rc-demo v0.1.0 (/opt/rustwide/workdir/learning/rc-demo) [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 [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: 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 closure v0.1.0 (/opt/rustwide/workdir/learning/closure) [INFO] [stderr] Checking matchs v0.1.0 (/opt/rustwide/workdir/learning/matchs) [INFO] [stdout] warning: 2 warnings emitted [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: 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 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 | fn make_adder(x:i32) -> Box i32> { [INFO] [stdout] | +++ [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 = 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: 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 i32> { [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: 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: 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: struct `Rong` is never constructed [INFO] [stdout] --> learning/lifetime/src/rong.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Rong<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rong` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [INFO] [stdout] warning: 4 warnings emitted [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: 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: 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: 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 = 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: 2 warnings emitted [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/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: struct `Rong` is never constructed [INFO] [stdout] --> learning/lifetime/src/rong.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Rong<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rong` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [INFO] [stdout] warning: 4 warnings 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 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 | fn make_adder(x:i32) -> Box 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 i32> { [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] Compiling quote v0.6.12 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking cliapp v0.1.0 (/opt/rustwide/workdir/learning/cliapp) [INFO] [stderr] Compiling serde_derive v1.0.93 [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: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.95s [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 1` [INFO] running `Command { std: "docker" "inspect" "948f680b2116f7c2ec7da5a9f3328b210877c693ea7497444dd37846287078ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948f680b2116f7c2ec7da5a9f3328b210877c693ea7497444dd37846287078ae", kill_on_drop: false }` [INFO] [stdout] 948f680b2116f7c2ec7da5a9f3328b210877c693ea7497444dd37846287078ae [INFO] checking rongfengliang/rust-mod-workspace against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rongfengliang/rust-mod-workspace on toolchain 9130c02509ce15f69dc5da6359bb9d140d41d4ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "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-1-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" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/5d4d38a7be3ccb2578581dffa0d34c31068d7a7b8c0ee6e868ced39514fdbe1c-init: no space left on device [INFO] checking rongfengliang/rust-mod-workspace against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: unable to write new index file [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking rongfengliang/rust-mod-workspace against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking rongfengliang/rust-mod-workspace against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking rongfengliang/rust-mod-workspace against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frongfengliang%2Frust-mod-workspace" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file lib/usersmain/src/main.rs [INFO] [stderr] fatal: cannot create directory at 'src': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [ERROR] this task or one of its parent failed! [ERROR] failed to checkout https://github.com/rongfengliang/rust-mod-workspace [ERROR] caused by: command failed: exit status: 128 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.