[INFO] cloning repository https://github.com/marccampbell/auditable [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marccampbell/auditable" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccampbell%2Fauditable", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccampbell%2Fauditable'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ad98c541809cda3a8ee2431b0ab83e76ec2591a [INFO] testing marccampbell/auditable against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccampbell%2Fauditable" "/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/marccampbell/auditable on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/marccampbell/auditable already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f1d141c6a4bf92dfd786e2c7ef3d641229b5055d79a0b850d0381ed532658bb [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" "6f1d141c6a4bf92dfd786e2c7ef3d641229b5055d79a0b850d0381ed532658bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f1d141c6a4bf92dfd786e2c7ef3d641229b5055d79a0b850d0381ed532658bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1d141c6a4bf92dfd786e2c7ef3d641229b5055d79a0b850d0381ed532658bb", kill_on_drop: false }` [INFO] [stdout] 6f1d141c6a4bf92dfd786e2c7ef3d641229b5055d79a0b850d0381ed532658bb [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9217be48b4b86608df4d7b077062f41453bb33c2a6d86bbc8d6d1a4983c2e66 [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" "e9217be48b4b86608df4d7b077062f41453bb33c2a6d86bbc8d6d1a4983c2e66", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling event-listener v2.2.1 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling concurrent-queue v1.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [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 hashbrown v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling async-channel v1.1.1 [INFO] [stderr] Compiling futures-lite v0.1.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio v0.2.22 [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 time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling redis v0.16.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#739692f3) [INFO] [stderr] Compiling auditable v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `now_utc` in crate `time` [INFO] [stdout] --> src/auditable/auditevent.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let now = time::now_utc().to_timespec(); [INFO] [stdout] | ^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/auditable/auditevent.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(None) => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/auditable/server.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | router.get("/ping", ping); [INFO] [stdout] | ^^^ ------- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/auditable/server.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | router.post("/v1/event", auditevent::auditevent_create); [INFO] [stdout] | ^^^^ ----------- ----------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> auditable::auditevent::AuditEvent: serde::de::Deserialize<'a>` is not satisfied [INFO] [stdout] --> src/auditable/auditevent.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let audit_event = req.get::>(); [INFO] [stdout] | ^^^ the trait `for<'a> serde::de::Deserialize<'a>` is not implemented for `auditable::auditevent::AuditEvent` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `iron::typemap::Key` for `bodyparser::Struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> auditable::auditevent::AuditEvent: serde::de::Deserialize<'a>` is not satisfied [INFO] [stdout] --> src/auditable/auditevent.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | let audit_event = req.get::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `for<'a> serde::de::Deserialize<'a>` is not implemented for `auditable::auditevent::AuditEvent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bodyparser-0.8.0/src/lib.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Struct where T: for<'a> Deserialize<'a> { [INFO] [stdout] | ----------------------- required by this bound in `bodyparser::Struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_v4` found for struct `uuid::Uuid` in the current scope [INFO] [stdout] --> src/auditable/auditevent.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | let event_id = Uuid::new_v4().to_string(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/auditable/auditevent.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | ]).execute(&connect_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn redis::ConnectionLike` [INFO] [stdout] found reference `&redis::Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/auditable/auditevent.rs:52:91 [INFO] [stdout] | [INFO] [stdout] 52 | redis::cmd("ZADD").arg("audit.events").arg(now.sec).arg(event_id.clone()).execute(&connect_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn redis::ConnectionLike` [INFO] [stdout] found reference `&redis::Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Commands` [INFO] [stdout] --> src/auditable/auditevent.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use redis::Commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `auditable`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e9217be48b4b86608df4d7b077062f41453bb33c2a6d86bbc8d6d1a4983c2e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9217be48b4b86608df4d7b077062f41453bb33c2a6d86bbc8d6d1a4983c2e66", kill_on_drop: false }` [INFO] [stdout] e9217be48b4b86608df4d7b077062f41453bb33c2a6d86bbc8d6d1a4983c2e66