[INFO] fetching crate cortex-m-funnel 0.1.0-alpha.1... [INFO] testing cortex-m-funnel-0.1.0-alpha.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cortex-m-funnel 0.1.0-alpha.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cortex-m-funnel 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate cortex-m-funnel 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate cortex-m-funnel 0.1.0-alpha.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cortex-m-funnel 0.1.0-alpha.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding ufmt v0.1.2 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 319aacfdf17f28654f50a47392a1c61af3c4d59fef0caf618f231e2cd05b434b [INFO] running `Command { std: "docker" "start" "-a" "319aacfdf17f28654f50a47392a1c61af3c4d59fef0caf618f231e2cd05b434b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "319aacfdf17f28654f50a47392a1c61af3c4d59fef0caf618f231e2cd05b434b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319aacfdf17f28654f50a47392a1c61af3c4d59fef0caf618f231e2cd05b434b", kill_on_drop: false }` [INFO] [stdout] 319aacfdf17f28654f50a47392a1c61af3c4d59fef0caf618f231e2cd05b434b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb35211127f5cb5d52a52de08f099adb7aee5250487800d3316e068acbf9f576 [INFO] running `Command { std: "docker" "start" "-a" "eb35211127f5cb5d52a52de08f099adb7aee5250487800d3316e068acbf9f576", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling cortex-m-funnel v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling ufmt-macros v0.2.0 [INFO] [stderr] Compiling cortex-m-funnel-macros v0.1.0-alpha.1 [INFO] [stderr] Compiling ufmt v0.1.2 [INFO] [stdout] error: unexpected `cfg` condition name: `cortex_m` [INFO] [stdout] --> src/lib.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | if cfg!(not(cortex_m)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cortex_m)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cortex_m)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `cortex_m` [INFO] [stdout] --> src/lib.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | if cfg!(not(cortex_m)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cortex_m)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cortex_m)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:579:24 [INFO] [stdout] | [INFO] [stdout] 579 | let blen = (*self.inner.buffer.get()).len(); [INFO] [stdout] | ^^-----------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/lib.rs:579:24 [INFO] [stdout] | [INFO] [stdout] 579 | let blen = (*self.inner.buffer.get()).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 579 | let blen = (&(*self.inner.buffer.get())).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-funnel` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "eb35211127f5cb5d52a52de08f099adb7aee5250487800d3316e068acbf9f576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb35211127f5cb5d52a52de08f099adb7aee5250487800d3316e068acbf9f576", kill_on_drop: false }` [INFO] [stdout] eb35211127f5cb5d52a52de08f099adb7aee5250487800d3316e068acbf9f576