[INFO] updating cached repository https://github.com/getsentry/sentry-relay-attic [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 27289345d70e5589a3e8b04d8d08ea55453346dc [INFO] testing getsentry/sentry-relay-attic against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-relay-attic" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/getsentry/sentry-relay-attic on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/getsentry/sentry-relay-attic [INFO] finished tweaking git repo https://github.com/getsentry/sentry-relay-attic [INFO] tweaked toml for git repo https://github.com/getsentry/sentry-relay-attic written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/getsentry/sentry-relay-attic already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] e116378e147330fde71cc7f76aa967f728fe760296020d8efccc283001010b07 [INFO] running `"docker" "start" "-a" "e116378e147330fde71cc7f76aa967f728fe760296020d8efccc283001010b07"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling openssl v0.9.10 [INFO] [stderr] Compiling serde v0.9.13 [INFO] [stderr] Compiling if_chain v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.10 [INFO] [stderr] Compiling hyper v0.10.7 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling clap v2.23.2 [INFO] [stderr] Compiling env_logger v0.4.2 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.13 [INFO] [stderr] Compiling native-tls v0.1.2 [INFO] [stderr] Compiling hyper-native-tls v0.2.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling sentry-relay v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `.`, `;`, `?`, or an operator, found `let` [INFO] [stderr] --> src/main.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 261 | let auth_header = "Sentry sentry_version=6,sentry_client=raven-java/8.0.2-beb4b,sentry_key=XXX,sentry_secret=XXX" [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 262 | let filters = get_relay_config(1, auth_header.to_owned()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `errors::*` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use errors::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Receiver`, `Sender`, `channel` [INFO] [stderr] --> src/main.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppSettings` [INFO] [stderr] --> src/main.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | use clap::{Arg, App, AppSettings}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Host` [INFO] [stderr] --> src/main.rs:35:58 [INFO] [stderr] | [INFO] [stderr] 35 | use hyper::header::{Headers, ContentType, ContentLength, Host}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hyper::method::Method` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use hyper::method::Method; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Listening` [INFO] [stderr] --> src/main.rs:38:48 [INFO] [stderr] | [INFO] [stderr] 38 | use hyper::server::{Server, Request, Response, Listening}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `thread` is imported redundantly [INFO] [stderr] --> src/main.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 31 | use std::thread; [INFO] [stderr] | ----------- the item `thread` is already imported here [INFO] [stderr] ... [INFO] [stderr] 73 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | / lazy_static! { [INFO] [stderr] 229 | | static ref STORE_PATH_RE: Regex = Regex::new(r"^/api/(\d+)/store/$").unwrap(); [INFO] [stderr] 230 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | / lazy_static! { [INFO] [stderr] 229 | | static ref STORE_PATH_RE: Regex = Regex::new(r"^/api/(\d+)/store/$").unwrap(); [INFO] [stderr] 230 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `sentry-relay`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e116378e147330fde71cc7f76aa967f728fe760296020d8efccc283001010b07"` [INFO] running `"docker" "rm" "-f" "e116378e147330fde71cc7f76aa967f728fe760296020d8efccc283001010b07"` [INFO] [stdout] e116378e147330fde71cc7f76aa967f728fe760296020d8efccc283001010b07