[INFO] cloning repository https://github.com/tcr/rust-corrode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tcr/rust-corrode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcr%2Frust-corrode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcr%2Frust-corrode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 383a5a1c872935e95235e9dbb4f8039cfe7ae53f [INFO] checking tcr/rust-corrode against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcr%2Frust-corrode" "/workspace/builds/worker-102/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-102/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tcr/rust-corrode on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tcr/rust-corrode [INFO] finished tweaking git repo https://github.com/tcr/rust-corrode [INFO] tweaked toml for git repo https://github.com/tcr/rust-corrode written to /workspace/builds/worker-102/source/Cargo.toml [INFO] crate git repo https://github.com/tcr/rust-corrode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.1.39 [INFO] [stderr] Downloaded num-rational v0.1.38 [INFO] [stderr] Downloaded num-complex v0.1.38 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded syn v0.7.1 [INFO] [stderr] Downloaded num-bigint v0.1.39 [INFO] [stderr] Downloaded quote v0.1.4 [INFO] [stderr] Downloaded libc v0.2.26 [INFO] [stderr] Downloaded num v0.1.39 [INFO] [stderr] Downloaded maplit v0.1.4 [INFO] [stderr] Downloaded parser-c-macro v0.3.0 [INFO] [stderr] Downloaded num-derive v0.1.40 [INFO] [stderr] Downloaded parser-c v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b264f50f78da46a2fefb210a95b563b252dc83d4ac2144fb39408bf7336f4d0a [INFO] running `Command { std: "docker" "start" "-a" "b264f50f78da46a2fefb210a95b563b252dc83d4ac2144fb39408bf7336f4d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b264f50f78da46a2fefb210a95b563b252dc83d4ac2144fb39408bf7336f4d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b264f50f78da46a2fefb210a95b563b252dc83d4ac2144fb39408bf7336f4d0a", kill_on_drop: false }` [INFO] [stdout] b264f50f78da46a2fefb210a95b563b252dc83d4ac2144fb39408bf7336f4d0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 068993a845b32c19e3fa8abf7675a6d1bfa80e1bf51b182c1ba9042377cef475 [INFO] running `Command { std: "docker" "start" "-a" "068993a845b32c19e3fa8abf7675a6d1bfa80e1bf51b182c1ba9042377cef475", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling quote v0.1.4 [INFO] [stderr] Checking maplit v0.1.4 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.7.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Checking itertools v0.6.1 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Compiling num-derive v0.1.40 [INFO] [stderr] Checking support-map v0.1.0 (/opt/rustwide/workdir/support-map) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn unionWith(apply: Box B>, left: HashMap, right: HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(B, B) -> B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:69:61 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn fromListWith(apply: Box B>, input: Vec<(A, B)>) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(B, B) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn unionWith(apply: Box B>, left: HashMap, right: HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(B, B) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:223:49 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn intersectionWith(apply: Box C>, left: IntMap, right: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A, B) -> C` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:228:39 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn fromListWith(apply: Box B>, input: Vec<(isize, B)>) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(B, B) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:248:45 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn mapMaybeWithKey(apply: Box Option>, input: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(isize, A) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn fromSet(apply: Box B>, input: HashSet) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(isize) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn map(apply: Box B>, input: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unionsWith(apply: Box B>, left: IntMap, right: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(B, B) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:278:46 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn updateLookupWithKey(apply: Box Option>, key: isize, input: IntMap) -> (Option, IntMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(isize, B) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn filterWithKey(apply: Box bool>, input: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(isize, B) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn mapMaybe(apply: Box Option>, input: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:303:42 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn mapEither(apply: Box Result>, input: IntMap) -> (IntMap, IntMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:313:40 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn mapWithKey(apply: Box B>, input: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(isize, A) -> B` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> support-map/src/lib.rs:318:33 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn filter(apply: Box bool>, input: IntMap) -> IntMap { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(B) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Checking num-bigint v0.1.39 [INFO] [stderr] Checking num-complex v0.1.38 [INFO] [stderr] Checking num-rational v0.1.38 [INFO] [stderr] Checking num v0.1.39 [INFO] [stderr] Compiling parser-c-macro v0.3.0 [INFO] [stderr] Checking parser-c v0.3.0 [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/parser-c-0.3.0/src/parser/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-c` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "068993a845b32c19e3fa8abf7675a6d1bfa80e1bf51b182c1ba9042377cef475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068993a845b32c19e3fa8abf7675a6d1bfa80e1bf51b182c1ba9042377cef475", kill_on_drop: false }` [INFO] [stdout] 068993a845b32c19e3fa8abf7675a6d1bfa80e1bf51b182c1ba9042377cef475