[INFO] cloning repository https://github.com/arjunbiyani/expo_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arjunbiyani/expo_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjunbiyani%2Fexpo_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjunbiyani%2Fexpo_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a7eaf5a4447d79c3f2527670fa8a9cf6b5edb98 [INFO] checking arjunbiyani/expo_rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjunbiyani%2Fexpo_rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arjunbiyani/expo_rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arjunbiyani/expo_rust [INFO] finished tweaking git repo https://github.com/arjunbiyani/expo_rust [INFO] tweaked toml for git repo https://github.com/arjunbiyani/expo_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arjunbiyani/expo_rust 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_infer_schema v0.16.0 [INFO] [stderr] Downloaded diesel_codegen v0.16.1 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded ucd-util v0.1.7 [INFO] [stderr] Downloaded diesel v0.16.0 [INFO] [stderr] Downloaded diesel v1.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afb35e0da53b5037bc3c38893aedc9dbfebcbe61047c109e4fecc5e7c91a4cbd [INFO] running `Command { std: "docker" "start" "-a" "afb35e0da53b5037bc3c38893aedc9dbfebcbe61047c109e4fecc5e7c91a4cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb35e0da53b5037bc3c38893aedc9dbfebcbe61047c109e4fecc5e7c91a4cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb35e0da53b5037bc3c38893aedc9dbfebcbe61047c109e4fecc5e7c91a4cbd", kill_on_drop: false }` [INFO] [stdout] afb35e0da53b5037bc3c38893aedc9dbfebcbe61047c109e4fecc5e7c91a4cbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d928aba1ae42b011ff51f05cf0f1b87d76e9540fa5be49a02ca79537e0fa12a [INFO] running `Command { std: "docker" "start" "-a" "9d928aba1ae42b011ff51f05cf0f1b87d76e9540fa5be49a02ca79537e0fa12a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ucd-util v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.47 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Checking expo_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `location` should have an upper camel case name [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `location` should have an upper camel case name [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_basics/structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut l = location(1,String::from("Bangalore"),3); [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: variable does not need to be mutable [INFO] [stdout] --> src/rust_basics/structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut l = location(1,String::from("Bangalore"),3); [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: `a` [INFO] [stdout] --> src/rust_basics/test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a ="Arjun"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/rust_basics/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b="Biyani"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `location` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `render_fullname`, and `change_product_name` are never used [INFO] [stdout] --> src/rust_basics/structs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Product { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | // Constructor [INFO] [stdout] 13 | fn new(id:i32,p_name: &str,price:i32) -> Product{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn render_fullname(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn change_product_name(&mut self, pname: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/structs.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/vars.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/strings.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/tuples.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/rust_basics/test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a ="Arjun"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/rust_basics/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b="Biyani"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `location` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `render_fullname`, and `change_product_name` are never used [INFO] [stdout] --> src/rust_basics/structs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Product { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | // Constructor [INFO] [stdout] 13 | fn new(id:i32,p_name: &str,price:i32) -> Product{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn render_fullname(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn change_product_name(&mut self, pname: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/structs.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/vars.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/strings.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/tuples.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.21s [INFO] running `Command { std: "docker" "inspect" "9d928aba1ae42b011ff51f05cf0f1b87d76e9540fa5be49a02ca79537e0fa12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d928aba1ae42b011ff51f05cf0f1b87d76e9540fa5be49a02ca79537e0fa12a", kill_on_drop: false }` [INFO] [stdout] 9d928aba1ae42b011ff51f05cf0f1b87d76e9540fa5be49a02ca79537e0fa12a [INFO] checking arjunbiyani/expo_rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjunbiyani%2Fexpo_rust" "/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/arjunbiyani/expo_rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arjunbiyani/expo_rust [INFO] finished tweaking git repo https://github.com/arjunbiyani/expo_rust [INFO] tweaked toml for git repo https://github.com/arjunbiyani/expo_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arjunbiyani/expo_rust 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6050cd9e328fae25929661f5588f016f974e27bf7f00e9540aea2eb98d592b7f [INFO] running `Command { std: "docker" "start" "-a" "6050cd9e328fae25929661f5588f016f974e27bf7f00e9540aea2eb98d592b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6050cd9e328fae25929661f5588f016f974e27bf7f00e9540aea2eb98d592b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6050cd9e328fae25929661f5588f016f974e27bf7f00e9540aea2eb98d592b7f", kill_on_drop: false }` [INFO] [stdout] 6050cd9e328fae25929661f5588f016f974e27bf7f00e9540aea2eb98d592b7f [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e82908216ff56bc6ba0ea86f7e8d913403e34993acdc7e95dbbb2262619d415 [INFO] running `Command { std: "docker" "start" "-a" "4e82908216ff56bc6ba0ea86f7e8d913403e34993acdc7e95dbbb2262619d415", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ucd-util v0.1.7 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.47 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Checking expo_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `location` should have an upper camel case name [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `location` should have an upper camel case name [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_basics/structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut l = location(1,String::from("Bangalore"),3); [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: `a` [INFO] [stdout] --> src/rust_basics/test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a ="Arjun"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/rust_basics/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b="Biyani"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `location` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_basics/structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut l = location(1,String::from("Bangalore"),3); [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: associated items `new`, `render_fullname`, and `change_product_name` are never used [INFO] [stdout] --> src/rust_basics/structs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Product { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | // Constructor [INFO] [stdout] 13 | fn new(id:i32,p_name: &str,price:i32) -> Product{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn render_fullname(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn change_product_name(&mut self, pname: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/structs.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/vars.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/rust_basics/test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a ="Arjun"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/rust_basics/test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b="Biyani"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `location` is never constructed [INFO] [stdout] --> src/rust_basics/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct location(i32,String,i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `render_fullname`, and `change_product_name` are never used [INFO] [stdout] --> src/rust_basics/structs.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Product { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | // Constructor [INFO] [stdout] 13 | fn new(id:i32,p_name: &str,price:i32) -> Product{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn render_fullname(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn change_product_name(&mut self, pname: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/structs.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/vars.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/strings.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/tuples.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/strings.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/rust_basics/tuples.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.57s [INFO] running `Command { std: "docker" "inspect" "4e82908216ff56bc6ba0ea86f7e8d913403e34993acdc7e95dbbb2262619d415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e82908216ff56bc6ba0ea86f7e8d913403e34993acdc7e95dbbb2262619d415", kill_on_drop: false }` [INFO] [stdout] 4e82908216ff56bc6ba0ea86f7e8d913403e34993acdc7e95dbbb2262619d415