[INFO] cloning repository https://github.com/niuchangqing/tide-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niuchangqing/tide-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuchangqing%2Ftide-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuchangqing%2Ftide-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 029f31fd38e971e2b41d2d25014c6b4d4a6f6d69 [INFO] testing niuchangqing/tide-sample against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuchangqing%2Ftide-sample" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niuchangqing/tide-sample on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niuchangqing/tide-sample [INFO] finished tweaking git repo https://github.com/niuchangqing/tide-sample [INFO] tweaked toml for git repo https://github.com/niuchangqing/tide-sample written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/niuchangqing/tide-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rexpr v1.0.7 [INFO] [stderr] Downloaded http-client v6.3.5 [INFO] [stderr] Downloaded whoami v1.1.1 [INFO] [stderr] Downloaded fast_log v1.3.23 [INFO] [stderr] Downloaded sqlx-rt v0.3.0 [INFO] [stderr] Downloaded zip v0.5.11 [INFO] [stderr] Downloaded rbatis-macro-driver v1.8.80 [INFO] [stderr] Downloaded http-types v2.10.0 [INFO] [stderr] Downloaded bigdecimal v0.2.0 [INFO] [stderr] Downloaded sqlx-core v0.5.1 [INFO] [stderr] Downloaded py_sql v1.0.1 [INFO] [stderr] Downloaded rust_decimal v1.10.3 [INFO] [stderr] Downloaded rbatis-core v1.8.79 [INFO] [stderr] Downloaded rbatis v1.8.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31aa994cef8fd26b1e22055508beb6da635305b1fadc5895735d5dc4897ab36d [INFO] running `Command { std: "docker" "start" "-a" "31aa994cef8fd26b1e22055508beb6da635305b1fadc5895735d5dc4897ab36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31aa994cef8fd26b1e22055508beb6da635305b1fadc5895735d5dc4897ab36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31aa994cef8fd26b1e22055508beb6da635305b1fadc5895735d5dc4897ab36d", kill_on_drop: false }` [INFO] [stdout] 31aa994cef8fd26b1e22055508beb6da635305b1fadc5895735d5dc4897ab36d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4c0f4d6a13e6b7549a9c943223f59c34bf957bdd29e6e7db50619e69f4530d0 [INFO] running `Command { std: "docker" "start" "-a" "a4c0f4d6a13e6b7549a9c943223f59c34bf957bdd29e6e7db50619e69f4530d0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling signal-hook v0.3.7 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling http-types v2.10.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling whoami v1.1.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling nb-connect v1.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling byte-pool v0.2.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling rbatis-macro-driver v1.8.80 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling mio v0.7.10 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling zip v0.5.11 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-process v1.0.2 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.4 [INFO] [stderr] Compiling sqlx-rt v0.3.0 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bigdecimal v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rust_decimal v1.10.3 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling rexpr v1.0.7 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling fast_log v1.3.23 [INFO] [stderr] Compiling rsa v0.3.0 [INFO] [stderr] Compiling py_sql v1.0.1 [INFO] [stderr] Compiling sqlx-core v0.5.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling http-client v6.3.5 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling rbatis-core v1.8.79 [INFO] [stderr] Compiling rbatis v1.8.80 [INFO] [stderr] Compiling tide-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::result_json` [INFO] [stdout] --> src/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::result_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/result_json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/result_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/result_json.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use tide::{new, StatusCode}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/user_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/user.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_user(req:Request<()>) -> User{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/user_controller.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::result_json` [INFO] [stdout] --> src/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::result_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/result_json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/result_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/result_json.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use tide::{new, StatusCode}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result_json::ResultJson` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use result_json::ResultJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/user_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/user.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_user(req:Request<()>) -> User{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/user_controller.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_id_card` [INFO] [stdout] --> src/user.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_id_card(&mut self, id_card:String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a4c0f4d6a13e6b7549a9c943223f59c34bf957bdd29e6e7db50619e69f4530d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c0f4d6a13e6b7549a9c943223f59c34bf957bdd29e6e7db50619e69f4530d0", kill_on_drop: false }` [INFO] [stdout] a4c0f4d6a13e6b7549a9c943223f59c34bf957bdd29e6e7db50619e69f4530d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a5155af2a62e4abfe9b8e510ba9cbbe5a786a62f1b78844ade9480649536080 [INFO] running `Command { std: "docker" "start" "-a" "0a5155af2a62e4abfe9b8e510ba9cbbe5a786a62f1b78844ade9480649536080", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tide-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::result_json` [INFO] [stdout] --> src/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::result_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/result_json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/result_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/result_json.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use tide::{new, StatusCode}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/user_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/user.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_user(req:Request<()>) -> User{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/user_controller.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::result_json` [INFO] [stdout] --> src/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::result_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/result_json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/result_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/result_json.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use tide::{new, StatusCode}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/user_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::result_json` [INFO] [stdout] --> src/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::result_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/result_json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/result_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new` [INFO] [stdout] --> src/result_json.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use tide::{new, StatusCode}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result_json::ResultJson` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use result_json::ResultJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/user_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/user.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_user(req:Request<()>) -> User{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/user_controller.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/user.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn find_user(req:Request<()>) -> User{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/user_controller.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_id_card` [INFO] [stdout] --> src/user.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_id_card(&mut self, id_card:String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "0a5155af2a62e4abfe9b8e510ba9cbbe5a786a62f1b78844ade9480649536080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5155af2a62e4abfe9b8e510ba9cbbe5a786a62f1b78844ade9480649536080", kill_on_drop: false }` [INFO] [stdout] 0a5155af2a62e4abfe9b8e510ba9cbbe5a786a62f1b78844ade9480649536080 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f58210fc156756e9e3cd1d83e81cc3d6be6f8f1f9dfd71c20193bd0469b5766 [INFO] running `Command { std: "docker" "start" "-a" "8f58210fc156756e9e3cd1d83e81cc3d6be6f8f1f9dfd71c20193bd0469b5766", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `super::result_json` [INFO] [stderr] --> src/user.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use super::result_json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/result_json.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ptr::null` [INFO] [stderr] --> src/result_json.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ptr::null; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `new` [INFO] [stderr] --> src/result_json.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use tide::{new, StatusCode}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::num::ParseIntError` [INFO] [stderr] --> src/user_controller.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::num::ParseIntError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/user.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn find_user(req:Request<()>) -> User{ [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/user_controller.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: `tide-sample` (lib) generated 7 warnings [INFO] [stderr] warning: `tide-sample` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: unused import: `result_json::ResultJson` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use result_json::ResultJson; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_id_card` [INFO] [stderr] --> src/user.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn set_id_card(&mut self, id_card:String) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tide-sample` (bin "tide-sample" test) generated 9 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tide_sample-1fcf2c17a551d626) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tide_sample-69500f7076a5adf8) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests tide-sample [INFO] [stdout] [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] [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" "8f58210fc156756e9e3cd1d83e81cc3d6be6f8f1f9dfd71c20193bd0469b5766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f58210fc156756e9e3cd1d83e81cc3d6be6f8f1f9dfd71c20193bd0469b5766", kill_on_drop: false }` [INFO] [stdout] 8f58210fc156756e9e3cd1d83e81cc3d6be6f8f1f9dfd71c20193bd0469b5766