[INFO] cloning repository https://github.com/tcr/gourd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tcr/gourd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcr%2Fgourd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcr%2Fgourd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3a2671c06a8d4e8539fac10b604eaff7f3ae036 [INFO] checking tcr/gourd against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcr%2Fgourd" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tcr/gourd [INFO] finished tweaking git repo https://github.com/tcr/gourd [INFO] tweaked toml for git repo https://github.com/tcr/gourd written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tcr/gourd on toolchain d8be25549d5418405531341b4be6d8538fc3c42e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tcr/gourd 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1 [INFO] running `Command { std: "docker" "start" "ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking quote v1.0.45 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-flame v0.2.0 [INFO] [stderr] Checking gourd-codegen v0.1.1 (/opt/rustwide/workdir/gourd-codegen) [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/literals.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_hir_literal(mut input: ParseStream) -> syn::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stdout] warning: value assigned to `stmt_count` is never read [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/switch_select.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | stmt_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/literals.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_hir_literal(mut input: ParseStream) -> syn::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/literals.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_hir_literal(mut input: ParseStream) -> syn::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stdout] warning: value assigned to `stmt_count` is never read [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/switch_select.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | stmt_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collected` is never read [INFO] [stdout] --> gourd-codegen/src/lib.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | collected = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/literals.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_hir_literal(mut input: ParseStream) -> syn::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stmt_count` is never read [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/switch_select.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | stmt_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stmt_count` is never read [INFO] [stdout] --> gourd-codegen/src/transpiler/hir/parsing_hir/switch_select.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | stmt_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gourd-macro v0.1.1 (/opt/rustwide/workdir/gourd-macro) [INFO] [stdout] warning: value assigned to `collected` is never read [INFO] [stdout] --> gourd-codegen/src/lib.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | collected = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collected` is never read [INFO] [stdout] --> gourd-codegen/src/lib.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | collected = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collected` is never read [INFO] [stdout] --> gourd-codegen/src/lib.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | collected = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking gourd v0.1.1 (/opt/rustwide/workdir/gourd) [INFO] [stderr] Checking gourd-check v0.1.0 (/opt/rustwide/workdir/gourd-check) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> gourd-check/tests/test_examples.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gourd/src/go_slice.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | let mut s = GoSlice::from_vec(vec![0xff, 0xfe]); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gourd/src/go_map.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let mut m: GoMap = GoMap::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goFn` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/transpile_go_fn.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn goFn(tokens: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `go_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goReplace` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | func goReplace() string { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_replace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goReplaceAll` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | func goReplaceAll() string { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_replace_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goHasPrefix` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | func goHasPrefix() bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_has_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goHasSuffix` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | func goHasSuffix() bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_has_suffix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goContains` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | func goContains() bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `go_contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goJoin` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | func goJoin() string { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `go_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSplit` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | func goSplit() []string { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `go_split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goIndex` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | func goIndex() int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `go_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTrim` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | func goTrim() string { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `go_trim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goToUpper` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | func goToUpper() string { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_to_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTimeNow` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/package_functions.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | func goTimeNow() int64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_time_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMinimal` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/switch_minimal.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | func goMinimal(n int) string { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_minimal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_get`: Use GoMap::get() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use gourd::prelude::{map_get, map_set_mut, map_set_val}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_mut`: Use GoMap::set() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use gourd::prelude::{map_get, map_set_mut, map_set_val}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_val`: Use GoMap::set() then dereference, or insert directly [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use gourd::prelude::{map_get, map_set_mut, map_set_val}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_get`: Use GoMap::get() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map_get(&map, "a".to_string()), 42); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_get`: Use GoMap::get() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map_get(&map, "b".to_string()), 7); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_get`: Use GoMap::get() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map_get(&map, "c".to_string()), 0); // default for missing key [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_mut`: Use GoMap::set() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(*map_set_mut(&mut map, "b".to_string()), 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_mut`: Use GoMap::set() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(*map_set_mut(&mut map, "a".to_string()), 42); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_mut`: Use GoMap::set() instead [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | *map_set_mut(&mut map, "a".to_string()) += 10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_val`: Use GoMap::set() then dereference, or insert directly [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | map_set_val(&mut map, "a".to_string(), 42); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gourd::prelude::map_set_val`: Use GoMap::set() then dereference, or insert directly [INFO] [stdout] --> gourd-macro/tests/prelude_map_ops.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | map_set_val(&mut map, "b".to_string(), 7); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMin` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/min_max_test.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | func goMin(a int, b int) int { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMax` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/min_max_test.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | func goMax(a int, b int) int { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> gourd-macro/tests/multi_case_switch.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / go! { [INFO] [stdout] 6 | | func goDayName(d int) string { [INFO] [stdout] 7 | | switch d { [INFO] [stdout] 8 | | case 1, 2, 3: [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goDayName` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/multi_case_switch.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | func goDayName(d int) string { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_day_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goClosureWithLen` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/closure_builtin_test.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | func goClosureWithLen() int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_closure_with_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goClosureWithIndex` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/closure_builtin_test.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | func goClosureWithIndex() int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_closure_with_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goShorthand2` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/shorthand_query.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | func goShorthand2(a, b int) int { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_shorthand2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goShorthand3` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/shorthand_query.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | func goShorthand3(a, b, c int) int { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_shorthand3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Complex128` and `Complex64` [INFO] [stdout] --> gourd-macro/tests/complex_builtin_test.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use gourd::prelude::{Complex64, Complex128}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goComplexBasic` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/complex_builtin_test.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | func goComplexBasic() Complex128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_complex_basic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goComplexExtractParts` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/complex_builtin_test.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | func goComplexExtractParts() float64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_complex_extract_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goComplexArithmetic` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/complex_builtin_test.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | func goComplexArithmetic() float64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_complex_arithmetic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gourd-macro/tests/panic_builtin.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / go! { [INFO] [stdout] 12 | | func goPanicMsg() int { [INFO] [stdout] 13 | | panic("something went wrong") [INFO] [stdout] 14 | | return 0 [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gourd-macro/tests/panic_builtin.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / go! { [INFO] [stdout] 20 | | func goPanicEmpty() int { [INFO] [stdout] 21 | | panic() [INFO] [stdout] 22 | | return 0 [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goPanicMsg` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/panic_builtin.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | func goPanicMsg() int { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `go_panic_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goPanicEmpty` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/panic_builtin.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | func goPanicEmpty() int { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_panic_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goPanicOnError` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/panic_builtin.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | func goPanicOnError(n int) int { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_panic_on_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> gourd-macro/tests/struct_literals.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Point { pub x: i32, pub y: i32 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> gourd-macro/tests/struct_literals.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Outer { pub inner: Inner } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> gourd-macro/tests/struct_literals.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Inner { pub x: i32 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goStructReturn` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/struct_literals.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | func goStructReturn() Point { return Point{x: 1, y: 2} } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_struct_return` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goNestedStructs` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/struct_literals.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | func goNestedStructs() Outer { return Outer{inner: Inner{x: 1}} } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_nested_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goStructInLet` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/struct_literals.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | func goStructInLet() string { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_struct_in_let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gourd::GoChannel` [INFO] [stdout] --> gourd-macro/tests/channel_ops.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gourd::GoChannel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goChannelRecv` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/channel_ops.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | func goChannelRecv(ch chan int) int { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_channel_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goChannelSend` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/channel_ops.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | func goChannelSend(ch chan int, value int) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_channel_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goChannelEcho` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/channel_ops.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | func goChannelEcho(ch chan int) int { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_channel_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> gourd-macro/tests/select_builtin.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | func goSelectDefault(ch chan int) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSelectDefault` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/select_builtin.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | func goSelectDefault(ch chan int) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_select_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSelectSend` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/select_builtin.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | func goSelectSend(ch chan int, value int) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_select_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSelectSendWithDefault` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/select_builtin.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | func goSelectSendWithDefault(ch chan int, value int) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_select_send_with_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendItem` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/append_builtin.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | func goAppendItem() []int { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendMultiple` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/append_builtin.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | func goAppendMultiple() []int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_multiple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendNoop` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/append_builtin.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | func goAppendNoop() []int { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_noop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendVar` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/append_builtin.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | func goAppendVar(data []int, x int) []int { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goCopySlice` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | func goCopySlice() int { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_copy_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goCopyPartial` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | func goCopyPartial() int { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_copy_partial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goDeleteFromMap` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | func goDeleteFromMap() int { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_delete_from_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goDeleteNonexistent` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | func goDeleteNonexistent() int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_delete_nonexistent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendSingle` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | func goAppendSingle() int { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_single` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendMultiple` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | func goAppendMultiple() int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_multiple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAppendEmpty` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/std_copy_delete_append.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | func goAppendEmpty() int { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_append_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMapSize` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/multi_return_test.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | func goMapSize(_a string) int { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_map_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goEmptyMap` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/multi_return_test.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | func goEmptyMap() int { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `go_empty_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSumSlice` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/for_range_test.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | func goSumSlice(data []int) int { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `go_sum_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goCountPositive` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/for_range_test.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | func goCountPositive(data []int) int { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_count_positive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSkipFirst` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/for_range_test.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | func goSkipFirst(data []int) int { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_skip_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMakeChannel` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/make_builtin.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | func goMakeChannel() chan int { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_make_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMakeBufferedChannel` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/make_builtin.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | func goMakeBufferedChannel() chan int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_make_buffered_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMakeStringChannel` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/make_builtin.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | func goMakeStringChannel() chan string { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_make_string_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMakeMap` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/make_builtin.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | func goMakeMap() map[string]int { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `go_make_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goMakeSlice` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/make_builtin.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | func goMakeSlice() []int { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_make_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAdd` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | func goAdd() int { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSum` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | func goSum(a int, b int) int { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goAbs` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | func goAbs(n int) int { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_abs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isEven` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | func isEven(n int) bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_even` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goIncr` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | func goIncr() int { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `go_incr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goStr` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | func goStr(bytes []byte) string { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goShorthand` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | func goShorthand(a, b, c int) int { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_shorthand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSliceLiteral` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_fn.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | func goSliceLiteral() []int { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_slice_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> gourd-macro/tests/new_builtin.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> gourd-macro/tests/new_builtin.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goNewPoint` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/new_builtin.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | func goNewPoint() Point { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `go_new_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goNewWithDefault` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/new_builtin.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | func goNewWithDefault() int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_new_with_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goNewInt` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/new_builtin.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | func goNewInt() int { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `go_new_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goNewString` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/new_builtin.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | func goNewString() string { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `go_new_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goSum` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_variadic.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | func goSum(nums ...int) int { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `go_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goCount` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_variadic.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | func goCount(nums ...int) int { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `go_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goFilter` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/go_variadic.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | func goFilter(min int, nums ...int) int { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `go_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gourd-macro/tests/recover_builtin_test.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / go! { [INFO] [stdout] 21 | | func goRecoverAfterPanic() string { [INFO] [stdout] 22 | | f := func() int { [INFO] [stdout] 23 | | panic("oops") [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goRecoverNoPanic` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/recover_builtin_test.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | func goRecoverNoPanic() string { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_recover_no_panic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goRecoverAfterPanic` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/recover_builtin_test.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | func goRecoverAfterPanic() string { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_recover_after_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertInt` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | func goTypeAssertInt(x int) int { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_int` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertString` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | func goTypeAssertString(x int) String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertFloat64` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | func goTypeAssertFloat64(x int) f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_float64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertUint` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | func goTypeAssertUint(x int) uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_uint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertBool` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | func goTypeAssertBool(x int) bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertByte` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | func goTypeAssertByte(x int) byte { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goTypeAssertRune` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | func goTypeAssertRune(x int) rune { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_type_assert_rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goNestedTypeAssert` should have a snake case name [INFO] [stdout] --> gourd-macro/tests/type_assertion.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | func goNestedTypeAssert(x int) int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `go_nested_type_assert` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1", kill_on_drop: false }` [INFO] [stdout] ab10acc205909382726a9d58f00f994dca28bc7443b4c4a85379606c48b469d1