[INFO] updating cached repository https://github.com/marccampbell/auditable [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9ad98c541809cda3a8ee2431b0ab83e76ec2591a [INFO] testing marccampbell/auditable against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccampbell%2Fauditable" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marccampbell/auditable on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/marccampbell/auditable [INFO] finished tweaking git repo https://github.com/marccampbell/auditable [INFO] tweaked toml for git repo https://github.com/marccampbell/auditable written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/marccampbell/auditable already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6cbffc826a3b1303f02e3a67303e3848e38bd867e04f8400701108314638316 [INFO] running `"docker" "start" "-a" "f6cbffc826a3b1303f02e3a67303e3848e38bd867e04f8400701108314638316"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling uuid v0.8.1 [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] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [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] Compiling async-trait v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling time-macros v0.1.0 [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 iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling smol v0.1.11 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling redis v0.16.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#494767a0) [INFO] [stderr] Compiling auditable v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `now_utc` in crate `time` [INFO] [stderr] --> src/auditable/auditevent.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | let now = time::now_utc().to_timespec(); [INFO] [stderr] | ^^^^^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/auditable/auditevent.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | Ok(None) => { ; }, [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/auditable/server.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | router.get("/ping", ping); [INFO] [stderr] | ^^^ ------- ---- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/auditable/server.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | router.post("/v1/event", auditevent::auditevent_create); [INFO] [stderr] | ^^^^ ----------- ----------------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `for<'a> auditable::auditevent::AuditEvent: serde::de::Deserialize<'a>` is not satisfied [INFO] [stderr] --> src/auditable/auditevent.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let audit_event = req.get::>(); [INFO] [stderr] | ^^^ the trait `for<'a> serde::de::Deserialize<'a>` is not implemented for `auditable::auditevent::AuditEvent` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::typemap::Key` for `bodyparser::Struct` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `for<'a> auditable::auditevent::AuditEvent: serde::de::Deserialize<'a>` is not satisfied [INFO] [stderr] --> src/auditable/auditevent.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | let audit_event = req.get::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ the trait `for<'a> serde::de::Deserialize<'a>` is not implemented for `auditable::auditevent::AuditEvent` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bodyparser-0.8.0/src/lib.rs:118:31 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct Struct where T: for<'a> Deserialize<'a> { [INFO] [stderr] | ----------------------- required by this bound in `bodyparser::Struct` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for struct `uuid::Uuid` in the current scope [INFO] [stderr] --> src/auditable/auditevent.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | let event_id = Uuid::new_v4().to_string(); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/auditable/auditevent.rs:50:20 [INFO] [stderr] | [INFO] [stderr] 50 | ]).execute(&connect_result); [INFO] [stderr] | ^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected mutable reference `&mut dyn redis::ConnectionLike` [INFO] [stderr] found reference `&redis::Connection` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/auditable/auditevent.rs:52:91 [INFO] [stderr] | [INFO] [stderr] 52 | redis::cmd("ZADD").arg("audit.events").arg(now.sec).arg(event_id.clone()).execute(&connect_result); [INFO] [stderr] | ^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected mutable reference `&mut dyn redis::ConnectionLike` [INFO] [stderr] found reference `&redis::Connection` [INFO] [stderr] [INFO] [stderr] warning: unused import: `redis::Commands` [INFO] [stderr] --> src/auditable/auditevent.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use redis::Commands; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `auditable`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f6cbffc826a3b1303f02e3a67303e3848e38bd867e04f8400701108314638316"` [INFO] running `"docker" "rm" "-f" "f6cbffc826a3b1303f02e3a67303e3848e38bd867e04f8400701108314638316"` [INFO] [stdout] f6cbffc826a3b1303f02e3a67303e3848e38bd867e04f8400701108314638316