[INFO] crate trans-gen-go 0.1.0 is already in cache [INFO] checking trans-gen-go-0.1.0 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate trans-gen-go 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate trans-gen-go 0.1.0 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate trans-gen-go 0.1.0 [INFO] finished tweaking crates.io crate trans-gen-go 0.1.0 [INFO] tweaked toml for crates.io crate trans-gen-go 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ecaa8af362ba61d5bf422cf7f97d196da9fff706f20009d29357ab02727870 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99ecaa8af362ba61d5bf422cf7f97d196da9fff706f20009d29357ab02727870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ecaa8af362ba61d5bf422cf7f97d196da9fff706f20009d29357ab02727870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ecaa8af362ba61d5bf422cf7f97d196da9fff706f20009d29357ab02727870", kill_on_drop: false }` [INFO] [stdout] 99ecaa8af362ba61d5bf422cf7f97d196da9fff706f20009d29357ab02727870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 76f85c10185502b1af3caed0210494a4bcf8935e033c7892956ba08f52c07de3 [INFO] running `Command { std: "docker" "start" "-a" "76f85c10185502b1af3caed0210494a4bcf8935e033c7892956ba08f52c07de3", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling trans-derive v0.1.0 [INFO] [stderr] Compiling trans-schema-derive v0.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking trans-schema v0.1.0 [INFO] [stderr] Checking trans v0.1.0 [INFO] [stderr] Compiling include_dir_impl v0.5.0 [INFO] [stderr] Checking include_dir v0.5.0 [INFO] [stderr] Checking trans-gen-core v0.1.1 [INFO] [stderr] Checking trans-gen-go v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | Schema::OneOf { variants, .. } => true, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lib.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | Schema::Struct(struc) => false, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | Schema::OneOf { variants, .. } => false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discriminant` [INFO] [stdout] --> src/lib.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some((_, discriminant)) = base { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discriminant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | for (index, field) in struc.fields.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/lib.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | fn new(name: &str, version: &str) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | fn result(mut self) -> HashMap { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | Schema::OneOf { variants, .. } => true, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lib.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | Schema::Struct(struc) => false, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | Schema::OneOf { variants, .. } => false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variants: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discriminant` [INFO] [stdout] --> src/lib.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some((_, discriminant)) = base { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discriminant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | for (index, field) in struc.fields.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/lib.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | fn new(name: &str, version: &str) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | fn result(mut self) -> HashMap { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.96s [INFO] running `Command { std: "docker" "inspect" "76f85c10185502b1af3caed0210494a4bcf8935e033c7892956ba08f52c07de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f85c10185502b1af3caed0210494a4bcf8935e033c7892956ba08f52c07de3", kill_on_drop: false }` [INFO] [stdout] 76f85c10185502b1af3caed0210494a4bcf8935e033c7892956ba08f52c07de3