[INFO] updating cached repository https://github.com/motrice/demo-bankid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2d13918eb479650695074b7322fced7c43f08d1 [INFO] testing motrice/demo-bankid against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotrice%2Fdemo-bankid" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/motrice/demo-bankid on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/motrice/demo-bankid [INFO] finished tweaking git repo https://github.com/motrice/demo-bankid [INFO] tweaked toml for git repo https://github.com/motrice/demo-bankid written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/motrice/demo-bankid already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.required-features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ca5bc227abc56be063e1f893dd9a296b21cb2f6b1e53799958418651e3f93c [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" "91ca5bc227abc56be063e1f893dd9a296b21cb2f6b1e53799958418651e3f93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ca5bc227abc56be063e1f893dd9a296b21cb2f6b1e53799958418651e3f93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ca5bc227abc56be063e1f893dd9a296b21cb2f6b1e53799958418651e3f93c", kill_on_drop: false }` [INFO] [stdout] 91ca5bc227abc56be063e1f893dd9a296b21cb2f6b1e53799958418651e3f93c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0083a5dd1e98d2d74375fd3a37d1e098df812e6165967a02ad3ca514645e7867 [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" "0083a5dd1e98d2d74375fd3a37d1e098df812e6165967a02ad3ca514645e7867", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.required-features [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling pin-project-internal v0.4.2 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tower-service v0.3.0-alpha.2 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling querystring v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling openssl-sys v0.9.50 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling rusoto_core v0.41.0 [INFO] [stderr] Compiling iovec v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling tracing-core v0.1.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-process v0.2.4 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling http-body v0.2.0-alpha.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling tracing-attributes v0.1.4 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.6 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling qrcode v0.11.0 [INFO] [stderr] Compiling tracing v0.1.9 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling pin-project v0.4.2 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Compiling tower-make v0.3.0-alpha.2a [INFO] [stderr] Compiling tokio-tls v0.3.0-alpha.6 [INFO] [stderr] Compiling tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-net v0.2.0-alpha.6 [INFO] [stderr] Compiling h2 v0.2.0-alpha.3 [INFO] [stderr] Compiling tokio v0.2.0-alpha.6 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling hyper v0.13.0-alpha.4 [INFO] [stderr] Compiling hyper-tls v0.4.0-alpha.4 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling rusoto_credential v0.41.1 [INFO] [stderr] Compiling reqwest v0.10.0-alpha.1 (https://github.com/seanmonstar/reqwest#3090a68d) [INFO] [stderr] Compiling bankid-rs v0.1.2 (https://github.com/motrice/bankid-rs#e2009891) [INFO] [stderr] Compiling rusoto_s3 v0.41.0 [INFO] [stderr] Compiling demobankid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/main.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | let res = match serde_json::to_string(&collected_response) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qrcode::QrCode` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use qrcode::QrCode; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Luma` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use image::Luma; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::png::PNGEncoder` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use image::png::PNGEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::timer::delay` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::timer::delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | use hyper::{Body, Request, Response, Server, Method, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demobankid`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0083a5dd1e98d2d74375fd3a37d1e098df812e6165967a02ad3ca514645e7867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0083a5dd1e98d2d74375fd3a37d1e098df812e6165967a02ad3ca514645e7867", kill_on_drop: false }` [INFO] [stdout] 0083a5dd1e98d2d74375fd3a37d1e098df812e6165967a02ad3ca514645e7867