[INFO] updating cached repository marccampbell/auditable [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/marccampbell/auditable [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/marccampbell/auditable" "work/ex/beta-1.38-1/sources/1.37.0/gh/marccampbell/auditable"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/marccampbell/auditable'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/marccampbell/auditable" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marccampbell/auditable"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marccampbell/auditable'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9ad98c541809cda3a8ee2431b0ab83e76ec2591a [INFO] sha for GitHub repo marccampbell/auditable: 9ad98c541809cda3a8ee2431b0ab83e76ec2591a [INFO] validating manifest of marccampbell/auditable on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of marccampbell/auditable on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing marccampbell/auditable [INFO] finished frobbing marccampbell/auditable [INFO] frobbed toml for marccampbell/auditable written to work/ex/beta-1.38-1/sources/1.37.0/gh/marccampbell/auditable/Cargo.toml [INFO] started frobbing marccampbell/auditable [INFO] finished frobbing marccampbell/auditable [INFO] frobbed toml for marccampbell/auditable written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/marccampbell/auditable/Cargo.toml [INFO] crate marccampbell/auditable already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/marccampbell/auditable/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing marccampbell/auditable against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/marccampbell/auditable:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 119d626ffc36be0c06363d8c36ae089b61b14c3b4fe9de6b66f38ac9147f0e93 [INFO] running `"docker" "start" "-a" "119d626ffc36be0c06363d8c36ae089b61b14c3b4fe9de6b66f38ac9147f0e93"` [INFO] [stderr] Compiling ascii v0.9.2 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling redis v0.11.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#c1ce4491) [INFO] [stderr] Compiling auditable v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/auditable/server.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | router.get("/ping", ping); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/auditable/server.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | router.post("/v1/event", auditevent::auditevent_create); [INFO] [stderr] | ^^^^ expected 3 parameters [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] = note: required by `bodyparser::Struct` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for type `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 type `&mut dyn redis::ConnectionLike` [INFO] [stderr] found type `&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 type `&mut dyn redis::ConnectionLike` [INFO] [stderr] found type `&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 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, 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" "119d626ffc36be0c06363d8c36ae089b61b14c3b4fe9de6b66f38ac9147f0e93"` [INFO] running `"docker" "rm" "-f" "119d626ffc36be0c06363d8c36ae089b61b14c3b4fe9de6b66f38ac9147f0e93"` [INFO] [stdout] 119d626ffc36be0c06363d8c36ae089b61b14c3b4fe9de6b66f38ac9147f0e93