[INFO] cloning repository https://github.com/Osama530/rust_iot_book_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osama530/rust_iot_book_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frust_iot_book_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frust_iot_book_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2be60db4e1c5278e58479e6c17a007e6da7e3c3c [INFO] checking Osama530/rust_iot_book_examples against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frust_iot_book_examples" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/rust_iot_book_examples on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Osama530/rust_iot_book_examples [INFO] finished tweaking git repo https://github.com/Osama530/rust_iot_book_examples [INFO] tweaked toml for git repo https://github.com/Osama530/rust_iot_book_examples written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Osama530/rust_iot_book_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "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 urlencoded v0.6.0 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded buf_redux v0.6.3 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded params v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.71 [INFO] [stderr] Downloaded database v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f7f4cd0b282801aee9e8a7e0c1bb1c57744aa88006f9e80cf3e8dbdd975b74 [INFO] running `Command { std: "docker" "start" "-a" "a8f7f4cd0b282801aee9e8a7e0c1bb1c57744aa88006f9e80cf3e8dbdd975b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f7f4cd0b282801aee9e8a7e0c1bb1c57744aa88006f9e80cf3e8dbdd975b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f7f4cd0b282801aee9e8a7e0c1bb1c57744aa88006f9e80cf3e8dbdd975b74", kill_on_drop: false }` [INFO] [stdout] a8f7f4cd0b282801aee9e8a7e0c1bb1c57744aa88006f9e80cf3e8dbdd975b74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a5b282b980ddf5b27cd3f953d9586e6b6a24f96059866719917fa4ca389fb4 [INFO] running `Command { std: "docker" "start" "-a" "97a5b282b980ddf5b27cd3f953d9586e6b6a24f96059866719917fa4ca389fb4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking database v0.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking buf_redux v0.6.3 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking multipart v0.13.6 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking urlencoded v0.6.0 [INFO] [stderr] Checking params v0.8.0 [INFO] [stderr] Checking practice_01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Url`, `error::IronError` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use iron::{error::IronError,status, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iron::modifiers::Redirect` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use iron::modifiers::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_value` [INFO] [stdout] --> src/main.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_comment(map: &Map, set_value: &str)-> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `qurie_handler` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn qurie_handler(req: &mut Request)-> IronResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Url`, `error::IronError` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use iron::{error::IronError,status, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iron::modifiers::Redirect` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use iron::modifiers::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_value` [INFO] [stdout] --> src/main.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_comment(map: &Map, set_value: &str)-> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `qurie_handler` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn qurie_handler(req: &mut Request)-> IronResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.90s [INFO] running `Command { std: "docker" "inspect" "97a5b282b980ddf5b27cd3f953d9586e6b6a24f96059866719917fa4ca389fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a5b282b980ddf5b27cd3f953d9586e6b6a24f96059866719917fa4ca389fb4", kill_on_drop: false }` [INFO] [stdout] 97a5b282b980ddf5b27cd3f953d9586e6b6a24f96059866719917fa4ca389fb4