[INFO] updating cached repository https://github.com/jaredgreene1/rusty-md5 [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25bd0c7d66d4585c63898fbb3985129c0cae5ead [INFO] checking jaredgreene1/rusty-md5 against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaredgreene1%2Frusty-md5" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaredgreene1/rusty-md5 on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jaredgreene1/rusty-md5 [INFO] finished tweaking git repo https://github.com/jaredgreene1/rusty-md5 [INFO] tweaked toml for git repo https://github.com/jaredgreene1/rusty-md5 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jaredgreene1/rusty-md5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58ea7139bbae8b1a8e29337f668070bfe437228f39901dc5f8fa4ab2483d2066 [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" "58ea7139bbae8b1a8e29337f668070bfe437228f39901dc5f8fa4ab2483d2066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ea7139bbae8b1a8e29337f668070bfe437228f39901dc5f8fa4ab2483d2066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ea7139bbae8b1a8e29337f668070bfe437228f39901dc5f8fa4ab2483d2066", kill_on_drop: false }` [INFO] [stdout] 58ea7139bbae8b1a8e29337f668070bfe437228f39901dc5f8fa4ab2483d2066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0e59892f52648701d563e7edb06aa8dab95b61e9f21c474e61008e87a55af11 [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" "a0e59892f52648701d563e7edb06aa8dab95b61e9f21c474e61008e87a55af11", kill_on_drop: false }` [INFO] [stderr] Checking md5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/digest.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | fn _rnd_1(a: u8, b: u8, c: u8, d: u8, X: [u8; 16], n0: i32, n1: i32, n2: i32, func) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 23 | fn _rnd_1(a: u8, b: u8, c: u8, d: u8, X: [u8; 16], n0: i32, n1: i32, n2: i32, func: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 23 | fn _rnd_1(a: u8, b: u8, c: u8, d: u8, X: [u8; 16], n0: i32, n1: i32, n2: i32, _: func) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/digest.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 23 | fn _rnd_1(a: u8, b: u8, c: u8, d: u8, X: [u8; 16], n0: i32, n1: i32, n2: i32, func) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 23 | fn _rnd_1(a: u8, b: u8, c: u8, d: u8, X: [u8; 16], n0: i32, n1: i32, n2: i32, func: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 23 | fn _rnd_1(a: u8, b: u8, c: u8, d: u8, X: [u8; 16], n0: i32, n1: i32, n2: i32, _: func) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `i32` [INFO] [stdout] --> src/digest.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | a = b + ((a + func(b, c, d) + X[n0] + T(n2)) << n1); [INFO] [stdout] | ^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[u8]>` is not implemented for `i32` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index` for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/digest.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | a = b + ((a + func(b, c, d) + X[n0] + T(n2)) << n1); [INFO] [stdout] | ^^ expected `f32`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 24 | a = b + ((a + func(b, c, d) + X[n0] + T(n2 as f32)) << n1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `md5`. [INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `i32` [INFO] [stdout] --> src/digest.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | a = b + ((a + func(b, c, d) + X[n0] + T(n2)) << n1); [INFO] [stdout] | ^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[u8]>` is not implemented for `i32` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index` for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/digest.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | a = b + ((a + func(b, c, d) + X[n0] + T(n2)) << n1); [INFO] [stdout] | ^^ expected `f32`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 24 | a = b + ((a + func(b, c, d) + X[n0] + T(n2 as f32)) << n1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0e59892f52648701d563e7edb06aa8dab95b61e9f21c474e61008e87a55af11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e59892f52648701d563e7edb06aa8dab95b61e9f21c474e61008e87a55af11", kill_on_drop: false }` [INFO] [stdout] a0e59892f52648701d563e7edb06aa8dab95b61e9f21c474e61008e87a55af11