[INFO] cloning repository https://github.com/pguenezan/gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pguenezan/gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpguenezan%2Fgateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpguenezan%2Fgateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1094120da892b6d9a5dd72414c9d975fe737740 [INFO] checking pguenezan/gateway against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpguenezan%2Fgateway" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pguenezan/gateway on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pguenezan/gateway [INFO] finished tweaking git repo https://github.com/pguenezan/gateway [INFO] tweaked toml for git repo https://github.com/pguenezan/gateway written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/pguenezan/gateway already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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] d1d25d3321a45e02044a067adc9eff560e13800b380f34da2110a33b0df763c4 [INFO] running `Command { std: "docker" "start" "-a" "d1d25d3321a45e02044a067adc9eff560e13800b380f34da2110a33b0df763c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1d25d3321a45e02044a067adc9eff560e13800b380f34da2110a33b0df763c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d25d3321a45e02044a067adc9eff560e13800b380f34da2110a33b0df763c4", kill_on_drop: false }` [INFO] [stdout] d1d25d3321a45e02044a067adc9eff560e13800b380f34da2110a33b0df763c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53f6705ebee16f054498278930f180a3cd705f3285972f77a736cebfa37eae5b [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" "53f6705ebee16f054498278930f180a3cd705f3285972f77a736cebfa37eae5b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Checking futures-core v0.3.10 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking futures-task v0.3.10 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking futures-sink v0.3.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling protobuf v2.20.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling prometheus v0.10.0 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking futures-util v0.3.10 [INFO] [stderr] Checking futures-channel v0.3.10 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking pem v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Checking tokio-util v0.6.1 [INFO] [stderr] Checking serde v1.0.119 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking gateway v0.1.0 (/opt/rustwide/workdir/gateway) [INFO] [stdout] error: couldn't read gateway/src/public_key_short.pem: No such file or directory (os error 2) [INFO] [stdout] --> gateway/src/auth.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | DecodingKey::from_rsa_pem(include_bytes!("public_key_short.pem")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read gateway/src/public_key_long.pem: No such file or directory (os error 2) [INFO] [stdout] --> gateway/src/auth.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | DecodingKey::from_rsa_pem(include_bytes!("public_key_long.pem")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read gateway/src/public_key_short.pem: No such file or directory (os error 2) [INFO] [stdout] --> gateway/src/auth.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | DecodingKey::from_rsa_pem(include_bytes!("public_key_short.pem")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read gateway/src/public_key_long.pem: No such file or directory (os error 2) [INFO] [stdout] --> gateway/src/auth.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | DecodingKey::from_rsa_pem(include_bytes!("public_key_long.pem")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gateway/src/config.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / gateway_config! { [INFO] [stdout] 2 | | [ [INFO] [stdout] 3 | | Api { [INFO] [stdout] 4 | | app_name: "/phrit", [INFO] [stdout] ... | [INFO] [stdout] 65 | | ] [INFO] [stdout] 66 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gateway/src/config.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / gateway_config! { [INFO] [stdout] 2 | | [ [INFO] [stdout] 3 | | Api { [INFO] [stdout] 4 | | app_name: "/phrit", [INFO] [stdout] ... | [INFO] [stdout] 65 | | ] [INFO] [stdout] 66 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gateway/src/config.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / gateway_config! { [INFO] [stdout] 2 | | [ [INFO] [stdout] 3 | | Api { [INFO] [stdout] 4 | | app_name: "/phrit", [INFO] [stdout] ... | [INFO] [stdout] 65 | | ] [INFO] [stdout] 66 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> gateway/src/config.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / gateway_config! { [INFO] [stdout] 2 | | [ [INFO] [stdout] 3 | | Api { [INFO] [stdout] 4 | | app_name: "/phrit", [INFO] [stdout] ... | [INFO] [stdout] 65 | | ] [INFO] [stdout] 66 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable statement [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gateway` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "53f6705ebee16f054498278930f180a3cd705f3285972f77a736cebfa37eae5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f6705ebee16f054498278930f180a3cd705f3285972f77a736cebfa37eae5b", kill_on_drop: false }` [INFO] [stdout] 53f6705ebee16f054498278930f180a3cd705f3285972f77a736cebfa37eae5b