[INFO] cloning repository https://github.com/Chivier/rust-freertos-cargo-doc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chivier/rust-freertos-cargo-doc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChivier%2Frust-freertos-cargo-doc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChivier%2Frust-freertos-cargo-doc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9d600c7ad27b266e18f032860b240518d86bed7 [INFO] checking Chivier/rust-freertos-cargo-doc against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChivier%2Frust-freertos-cargo-doc" "/workspace/builds/worker-43/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-43/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chivier/rust-freertos-cargo-doc on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Chivier/rust-freertos-cargo-doc [INFO] finished tweaking git repo https://github.com/Chivier/rust-freertos-cargo-doc [INFO] tweaked toml for git repo https://github.com/Chivier/rust-freertos-cargo-doc written to /workspace/builds/worker-43/source/Cargo.toml [INFO] crate git repo https://github.com/Chivier/rust-freertos-cargo-doc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 bindgen v0.42.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4125a3e328263cae6c409bea25d57a65ee0ff5ca115a648414006f49e56a50 [INFO] running `Command { std: "docker" "start" "-a" "ca4125a3e328263cae6c409bea25d57a65ee0ff5ca115a648414006f49e56a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4125a3e328263cae6c409bea25d57a65ee0ff5ca115a648414006f49e56a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4125a3e328263cae6c409bea25d57a65ee0ff5ca115a648414006f49e56a50", kill_on_drop: false }` [INFO] [stdout] ca4125a3e328263cae6c409bea25d57a65ee0ff5ca115a648414006f49e56a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3994b76f0d1cf732747601745b7a1def09e1b357d8cf77f63e877f5b174a2114 [INFO] running `Command { std: "docker" "start" "-a" "3994b76f0d1cf732747601745b7a1def09e1b357d8cf77f63e877f5b174a2114", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling rust_freertos v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: an inner attribute is not permitted following an outer attribute [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ------------ previous outer attribute [INFO] [stdout] 9 | #![doc(html_root_url = "https://chivier.github.io/travis-demo/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attribute [INFO] [stdout] | [INFO] [stdout] = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/task_control.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/task_control.rs:357:65 [INFO] [stdout] | [INFO] [stdout] 357 | let func_to_run = Box::from_raw(func_to_run as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | #![doc(html_root_url = "https://chivier.github.io/travis-demo/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#at-the-crate-level for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: an inner attribute is not permitted following an outer attribute [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ------------ previous outer attribute [INFO] [stdout] 9 | #![doc(html_root_url = "https://chivier.github.io/travis-demo/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attribute [INFO] [stdout] | [INFO] [stdout] = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 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 `rust_freertos` due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/task_control.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/task_control.rs:357:65 [INFO] [stdout] | [INFO] [stdout] 357 | let func_to_run = Box::from_raw(func_to_run as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | #![doc(html_root_url = "https://chivier.github.io/travis-demo/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#at-the-crate-level for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3994b76f0d1cf732747601745b7a1def09e1b357d8cf77f63e877f5b174a2114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3994b76f0d1cf732747601745b7a1def09e1b357d8cf77f63e877f5b174a2114", kill_on_drop: false }` [INFO] [stdout] 3994b76f0d1cf732747601745b7a1def09e1b357d8cf77f63e877f5b174a2114