[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] checking marccampbell/auditable against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccampbell%2Fauditable" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marccampbell/auditable on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-13/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a957fe472c5b58058de16f80e71e7c3132c8840974a6cb203e4ec682583f86d0 [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" "a957fe472c5b58058de16f80e71e7c3132c8840974a6cb203e4ec682583f86d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a957fe472c5b58058de16f80e71e7c3132c8840974a6cb203e4ec682583f86d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a957fe472c5b58058de16f80e71e7c3132c8840974a6cb203e4ec682583f86d0", kill_on_drop: false }` [INFO] [stdout] a957fe472c5b58058de16f80e71e7c3132c8840974a6cb203e4ec682583f86d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1e9eeab6bd68321bfeb1ece2b759a57c03baf7830be3834b8dc2e6501d62695 [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" "f1e9eeab6bd68321bfeb1ece2b759a57c03baf7830be3834b8dc2e6501d62695", kill_on_drop: false }` [INFO] [stderr] Checking combine v4.3.2 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking time v0.2.22 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking redis v0.17.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#98df733d) [INFO] [stderr] Checking auditable v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stdout] --> tests/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::header::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> tests/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::Client` [INFO] [stdout] --> tests/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `auditable` [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] [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[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[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> 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 `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> 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 `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[E0277]: the trait bound `for<'a> 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 `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> 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 `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` 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` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_v4` found for struct `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` [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 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 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[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 ConnectionLike` [INFO] [stdout] found reference `&redis::Connection` [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] [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 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: build failed [INFO] running `Command { std: "docker" "inspect" "f1e9eeab6bd68321bfeb1ece2b759a57c03baf7830be3834b8dc2e6501d62695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e9eeab6bd68321bfeb1ece2b759a57c03baf7830be3834b8dc2e6501d62695", kill_on_drop: false }` [INFO] [stdout] f1e9eeab6bd68321bfeb1ece2b759a57c03baf7830be3834b8dc2e6501d62695