[INFO] cloning repository https://github.com/jimberlage/science [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimberlage/science" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimberlage%2Fscience", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimberlage%2Fscience'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83732e5f76702d6f028425b13b7ef5d9c87bc743 [INFO] testing jimberlage/science against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimberlage%2Fscience" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimberlage/science on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jimberlage/science [INFO] finished tweaking git repo https://github.com/jimberlage/science [INFO] tweaked toml for git repo https://github.com/jimberlage/science written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/jimberlage/science already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd2d44b13de8f5787bb63b4749128eddc40570ed923b15782f66e2f0b169e41e [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" "dd2d44b13de8f5787bb63b4749128eddc40570ed923b15782f66e2f0b169e41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd2d44b13de8f5787bb63b4749128eddc40570ed923b15782f66e2f0b169e41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2d44b13de8f5787bb63b4749128eddc40570ed923b15782f66e2f0b169e41e", kill_on_drop: false }` [INFO] [stdout] dd2d44b13de8f5787bb63b4749128eddc40570ed923b15782f66e2f0b169e41e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5c58e481c3caadc60c7aef95372ad6cc0c398e9f3e396dec366594e3ba930e8 [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" "d5c58e481c3caadc60c7aef95372ad6cc0c398e9f3e396dec366594e3ba930e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rusqlite v0.23.1 [INFO] [stderr] Compiling science v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/migrations.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | let ids = try_generic!(stmt.query_map(&[], |row| { row.get("id") })); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/migrations.rs:39:55 [INFO] [stdout] | [INFO] [stdout] 39 | let rows = try_generic!(stmt.query_map(&[], |_| { true })); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found `bool` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(true)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | match stmt.execute(&[description, &experiment_id, sha, status]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `std::string::String`, found `i64` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&std::string::String` [INFO] [stdout] found reference `&i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | match stmt.execute(&[]) { [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | Experiment { id: row.get("id") } [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i64`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i64` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | Experiment { id: row.get("id") } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found struct `models::Experiment` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Experiment { id: row.get("id") })` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] found struct `models::Experiment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | match stmt.execute(&[]) { [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | id: row.get("id"), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i64`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i64` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | description: row.get("description"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | experiment_id: row.get("experiment_id"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i64` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | sha: row.get("sha"), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | status: row.get("status"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | / Datapoint { [INFO] [stdout] 115 | | id: row.get("id"), [INFO] [stdout] 116 | | description: row.get("description"), [INFO] [stdout] 117 | | experiment_id: row.get("experiment_id"), [INFO] [stdout] 118 | | sha: row.get("sha"), [INFO] [stdout] 119 | | status: row.get("status"), [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____________^ expected enum `std::result::Result`, found struct `models::Datapoint` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] found struct `models::Datapoint` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 114 | Ok(Datapoint { [INFO] [stdout] 115 | id: row.get("id"), [INFO] [stdout] 116 | description: row.get("description"), [INFO] [stdout] 117 | experiment_id: row.get("experiment_id"), [INFO] [stdout] 118 | sha: row.get("sha"), [INFO] [stdout] 119 | status: row.get("status"), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `science`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d5c58e481c3caadc60c7aef95372ad6cc0c398e9f3e396dec366594e3ba930e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c58e481c3caadc60c7aef95372ad6cc0c398e9f3e396dec366594e3ba930e8", kill_on_drop: false }` [INFO] [stdout] d5c58e481c3caadc60c7aef95372ad6cc0c398e9f3e396dec366594e3ba930e8