[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] testing Osama530/rust_iot_book_examples against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frust_iot_book_examples" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/rust_iot_book_examples on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] d17b6a609b2101688d97ca1c4fb9a2de2dc4706bcb600223b8dc4323e4372cd4 [INFO] running `Command { std: "docker" "start" "-a" "d17b6a609b2101688d97ca1c4fb9a2de2dc4706bcb600223b8dc4323e4372cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d17b6a609b2101688d97ca1c4fb9a2de2dc4706bcb600223b8dc4323e4372cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17b6a609b2101688d97ca1c4fb9a2de2dc4706bcb600223b8dc4323e4372cd4", kill_on_drop: false }` [INFO] [stdout] d17b6a609b2101688d97ca1c4fb9a2de2dc4706bcb600223b8dc4323e4372cd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 1b2bebab09cdc5fa5c43b5e10ea6888b18ebfb70f1ce6f13d55c173ac9efacaa [INFO] running `Command { std: "docker" "start" "-a" "1b2bebab09cdc5fa5c43b5e10ea6888b18ebfb70f1ce6f13d55c173ac9efacaa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling database v0.5.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling buf_redux v0.6.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [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] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling multipart v0.13.6 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling params v0.8.0 [INFO] [stderr] Compiling 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 is never used: `qurie_handler` [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 37.58s [INFO] running `Command { std: "docker" "inspect" "1b2bebab09cdc5fa5c43b5e10ea6888b18ebfb70f1ce6f13d55c173ac9efacaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2bebab09cdc5fa5c43b5e10ea6888b18ebfb70f1ce6f13d55c173ac9efacaa", kill_on_drop: false }` [INFO] [stdout] 1b2bebab09cdc5fa5c43b5e10ea6888b18ebfb70f1ce6f13d55c173ac9efacaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 21b4ccff2a8940053cdc3dec4c0e3a76a2e3443316f7a67bd83d1e789cd9b763 [INFO] running `Command { std: "docker" "start" "-a" "21b4ccff2a8940053cdc3dec4c0e3a76a2e3443316f7a67bd83d1e789cd9b763", kill_on_drop: false }` [INFO] [stderr] Compiling 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 is never used: `qurie_handler` [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/practice_01-92d80859ec4bc9ce) [INFO] running `Command { std: "docker" "inspect" "21b4ccff2a8940053cdc3dec4c0e3a76a2e3443316f7a67bd83d1e789cd9b763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b4ccff2a8940053cdc3dec4c0e3a76a2e3443316f7a67bd83d1e789cd9b763", kill_on_drop: false }` [INFO] [stdout] 21b4ccff2a8940053cdc3dec4c0e3a76a2e3443316f7a67bd83d1e789cd9b763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0129b096e071fc61c93b630fa87bb785fdf8f73b5736f7a6ca599d367f9d45fc [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" "0129b096e071fc61c93b630fa87bb785fdf8f73b5736f7a6ca599d367f9d45fc", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Url`, `error::IronError` [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use iron::{error::IronError,status, Url}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `iron::modifiers::Redirect` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use iron::modifiers::Redirect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set_value` [INFO] [stderr] --> src/main.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | fn get_comment(map: &Map, set_value: &str)-> String { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `qurie_handler` [INFO] [stderr] --> src/main.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | fn qurie_handler(req: &mut Request)-> IronResult { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `practice_01` (bin "practice_01" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/practice_01-92d80859ec4bc9ce) [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" "0129b096e071fc61c93b630fa87bb785fdf8f73b5736f7a6ca599d367f9d45fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0129b096e071fc61c93b630fa87bb785fdf8f73b5736f7a6ca599d367f9d45fc", kill_on_drop: false }` [INFO] [stdout] 0129b096e071fc61c93b630fa87bb785fdf8f73b5736f7a6ca599d367f9d45fc