[INFO] cloning repository https://github.com/suhanyujie/hello_cargo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhanyujie/hello_cargo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fhello_cargo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fhello_cargo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2ca02230864e628c8cd21c7090da828459fec11 [INFO] testing suhanyujie/hello_cargo against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fhello_cargo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/hello_cargo on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suhanyujie/hello_cargo [INFO] finished tweaking git repo https://github.com/suhanyujie/hello_cargo [INFO] tweaked toml for git repo https://github.com/suhanyujie/hello_cargo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/suhanyujie/hello_cargo 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9132ccd6c2e271b7fa77d33e867ee9cecddbca885d24e0410ecfca3f80c90fe1 [INFO] running `Command { std: "docker" "start" "-a" "9132ccd6c2e271b7fa77d33e867ee9cecddbca885d24e0410ecfca3f80c90fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9132ccd6c2e271b7fa77d33e867ee9cecddbca885d24e0410ecfca3f80c90fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9132ccd6c2e271b7fa77d33e867ee9cecddbca885d24e0410ecfca3f80c90fe1", kill_on_drop: false }` [INFO] [stdout] 9132ccd6c2e271b7fa77d33e867ee9cecddbca885d24e0410ecfca3f80c90fe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 573627b6e561fe6f27eb7e126c3e36d65618a2d9771c11237c4a0f2f8c20642f [INFO] running `Command { std: "docker" "start" "-a" "573627b6e561fe6f27eb7e126c3e36d65618a2d9771c11237c4a0f2f8c20642f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling encode_unicode v0.3.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Todo` [INFO] [stdout] 17 | struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Todo` [INFO] [stdout] 17 | struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: unused import: `hello_cargo::test_code::t1` [INFO] [stdout] --> src/bin/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hello_cargo::test_code::t1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word1` [INFO] [stdout] --> src/bin/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let word1 = &my_str1[..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_word1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/main.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | fn slice_show(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/bin/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/bin/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/bin/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn first_word(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `about_slice` is never used [INFO] [stdout] --> src/bin/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn about_slice() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership_change` is never used [INFO] [stdout] --> src/bin/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn ownership_change() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutable_ref_example` is never used [INFO] [stdout] --> src/bin/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn mutable_ref_example(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_example` is never used [INFO] [stdout] --> src/bin/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn reference_example(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` is never used [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` is never used [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `five` is never used [INFO] [stdout] --> src/bin/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn five() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | handle(Command::from_args()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = handle(Command::from_args()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multiple_return_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `copy_deeply` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "573627b6e561fe6f27eb7e126c3e36d65618a2d9771c11237c4a0f2f8c20642f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573627b6e561fe6f27eb7e126c3e36d65618a2d9771c11237c4a0f2f8c20642f", kill_on_drop: false }` [INFO] [stdout] 573627b6e561fe6f27eb7e126c3e36d65618a2d9771c11237c4a0f2f8c20642f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91cf056af325603b63fc8587498596b832a525415f30b9819c616ca98048f6d5 [INFO] running `Command { std: "docker" "start" "-a" "91cf056af325603b63fc8587498596b832a525415f30b9819c616ca98048f6d5", kill_on_drop: false }` [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Todo` [INFO] [stdout] 17 | struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Todo` [INFO] [stdout] 17 | struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: unused import: `hello_cargo::test_code::t1` [INFO] [stdout] --> src/bin/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hello_cargo::test_code::t1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unused variable: `word1` [INFO] [stdout] --> src/bin/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let word1 = &my_str1[..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_word1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/main.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | fn slice_show(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/bin/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/bin/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/bin/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn first_word(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `about_slice` is never used [INFO] [stdout] --> src/bin/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn about_slice() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership_change` is never used [INFO] [stdout] --> src/bin/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn ownership_change() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutable_ref_example` is never used [INFO] [stdout] --> src/bin/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn mutable_ref_example(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_example` is never used [INFO] [stdout] --> src/bin/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn reference_example(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` is never used [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` is never used [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `five` is never used [INFO] [stdout] --> src/bin/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn five() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | handle(Command::from_args()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = handle(Command::from_args()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multiple_return_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `copy_deeply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Todo` [INFO] [stdout] 17 | struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Todo` [INFO] [stdout] 17 | struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "91cf056af325603b63fc8587498596b832a525415f30b9819c616ca98048f6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cf056af325603b63fc8587498596b832a525415f30b9819c616ca98048f6d5", kill_on_drop: false }` [INFO] [stdout] 91cf056af325603b63fc8587498596b832a525415f30b9819c616ca98048f6d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc83ed834c1f153d6cb33c7e0bad99370864c5497043790969c9ce9d1577e87b [INFO] running `Command { std: "docker" "start" "-a" "bc83ed834c1f153d6cb33c7e0bad99370864c5497043790969c9ce9d1577e87b", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/service.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/service.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/service.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Todo` [INFO] [stderr] 17 | struct Todo { [INFO] [stderr] | ---- `Todo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/service.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Todo` [INFO] [stderr] 17 | struct Todo { [INFO] [stderr] | ---- `Todo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hello_cargo` (lib) generated 4 warnings [INFO] [stderr] warning: `hello_cargo` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unused import: `hello_cargo::test_code::t1` [INFO] [stderr] --> src/bin/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use hello_cargo::test_code::t1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `word1` [INFO] [stderr] --> src/bin/main.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | let word1 = &my_str1[..]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_word1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/bin/main.rs:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | fn slice_show(s: &str) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: struct `User` is never constructed [INFO] [stderr] --> src/bin/main.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | struct User { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Message` is never used [INFO] [stderr] --> src/bin/main.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | enum Message { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `first_word` is never used [INFO] [stderr] --> src/bin/main.rs:78:4 [INFO] [stderr] | [INFO] [stderr] 78 | fn first_word(s: &String) -> &str { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `about_slice` is never used [INFO] [stderr] --> src/bin/main.rs:89:4 [INFO] [stderr] | [INFO] [stderr] 89 | fn about_slice() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ownership_change` is never used [INFO] [stderr] --> src/bin/main.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn ownership_change() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mutable_ref_example` is never used [INFO] [stderr] --> src/bin/main.rs:106:4 [INFO] [stderr] | [INFO] [stderr] 106 | fn mutable_ref_example(s: &mut String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reference_example` is never used [INFO] [stderr] --> src/bin/main.rs:112:4 [INFO] [stderr] | [INFO] [stderr] 112 | fn reference_example(s: &String) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `multipleReturnVal` is never used [INFO] [stderr] --> src/bin/main.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copyDeeply` is never used [INFO] [stderr] --> src/bin/main.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn copyDeeply() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `five` is never used [INFO] [stderr] --> src/bin/main.rs:131:4 [INFO] [stderr] | [INFO] [stderr] 131 | fn five() -> i32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/main.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | handle(Command::from_args()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 45 | let _ = handle(Command::from_args()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `multipleReturnVal` should have a snake case name [INFO] [stderr] --> src/bin/main.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multiple_return_val` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `copyDeeply` should have a snake case name [INFO] [stderr] --> src/bin/main.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn copyDeeply() { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `copy_deeply` [INFO] [stderr] [INFO] [stderr] warning: `hello_cargo` (bin "main" test) generated 16 warnings (run `cargo fix --bin "main" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_cargo-7d00ab4a8c4192ee) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test rs_string::highlight::tests::test_highlight_string ... ok [INFO] [stdout] test rs_string::string::tests::test_permute_case ... ok [INFO] [stdout] test rs_string::string::tests::test_is_space ... ok [INFO] [stdout] test test_code::t1::tests::be_bytes ... ok [INFO] [stdout] test test_code::t1::tests::to_bytes ... ok [INFO] [stdout] test rs_string::string::tests::test_contains ... ok [INFO] [stdout] test rs_string::string::tests::test_rm_string_duplicates ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-db7fb94cff5f9c3c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hello_cargo [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc83ed834c1f153d6cb33c7e0bad99370864c5497043790969c9ce9d1577e87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc83ed834c1f153d6cb33c7e0bad99370864c5497043790969c9ce9d1577e87b", kill_on_drop: false }` [INFO] [stdout] bc83ed834c1f153d6cb33c7e0bad99370864c5497043790969c9ce9d1577e87b