[INFO] fetching crate tom 0.0.1... [INFO] checking tom-0.0.1 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate tom 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tom 0.0.1 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking crates.io crate tom 0.0.1 [INFO] finished tweaking crates.io crate tom 0.0.1 [INFO] tweaked toml for crates.io crate tom 0.0.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f2d1117f7f52a25afe31e93652816cef69e48ede1f2565fc8a5cacc3b87ac5c [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" "7f2d1117f7f52a25afe31e93652816cef69e48ede1f2565fc8a5cacc3b87ac5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f2d1117f7f52a25afe31e93652816cef69e48ede1f2565fc8a5cacc3b87ac5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2d1117f7f52a25afe31e93652816cef69e48ede1f2565fc8a5cacc3b87ac5c", kill_on_drop: false }` [INFO] [stdout] 7f2d1117f7f52a25afe31e93652816cef69e48ede1f2565fc8a5cacc3b87ac5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 756446c14b6d666d17034ab155731235eeaead81d6871e27d5cd17596031717c [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" "756446c14b6d666d17034ab155731235eeaead81d6871e27d5cd17596031717c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking text_unit v0.1.10 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking uncover v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Checking m_lexer v0.0.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking string-interner v0.6.4 [INFO] [stderr] Checking tom v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/visitor.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut C, CstNode, &TomlDoc) + 'c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/visitor.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let cb: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut C, CstNode, &TomlDoc) + 'c` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | len += (text.len() as u32).into(); [INFO] [stdout] | ^^ -------------------------- this method call resolves to `T` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type [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 E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tom` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "756446c14b6d666d17034ab155731235eeaead81d6871e27d5cd17596031717c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756446c14b6d666d17034ab155731235eeaead81d6871e27d5cd17596031717c", kill_on_drop: false }` [INFO] [stdout] 756446c14b6d666d17034ab155731235eeaead81d6871e27d5cd17596031717c