[INFO] fetching crate pinetime-macros 2.0.0... [INFO] testing pinetime-macros-2.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pinetime-macros 2.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pinetime-macros 2.0.0 [INFO] finished tweaking crates.io crate pinetime-macros 2.0.0 [INFO] tweaked toml for crates.io crate pinetime-macros 2.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pinetime-macros 2.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding cstr_core v0.1.2 (available: v0.2.6) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cstr_core v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ac89d4783146a3a13e0c9f85698b2784acfa0c4bf6594ebb27d2090f91c9bfe [INFO] running `Command { std: "docker" "start" "-a" "4ac89d4783146a3a13e0c9f85698b2784acfa0c4bf6594ebb27d2090f91c9bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ac89d4783146a3a13e0c9f85698b2784acfa0c4bf6594ebb27d2090f91c9bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac89d4783146a3a13e0c9f85698b2784acfa0c4bf6594ebb27d2090f91c9bfe", kill_on_drop: false }` [INFO] [stdout] 4ac89d4783146a3a13e0c9f85698b2784acfa0c4bf6594ebb27d2090f91c9bfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 147adf2a26d0aa24a2ea9b6ae0f8bfc2db789a188ec044130be1019f73f2ee19 [INFO] running `Command { std: "docker" "start" "-a" "147adf2a26d0aa24a2ea9b6ae0f8bfc2db789a188ec044130be1019f73f2ee19", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cty v0.1.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cstr_core v0.1.2 [INFO] [stderr] Compiling pinetime-macros v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:641:7 [INFO] [stdout] | [INFO] [stdout] 641 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:654:7 [INFO] [stdout] | [INFO] [stdout] 654 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:663:11 [INFO] [stdout] | [INFO] [stdout] 663 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/infer_type.rs:668:38 [INFO] [stdout] | [INFO] [stdout] 668 | let s = unsafe { format!("{:?}", CURRENT_FUNC) }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.53s [INFO] running `Command { std: "docker" "inspect" "147adf2a26d0aa24a2ea9b6ae0f8bfc2db789a188ec044130be1019f73f2ee19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147adf2a26d0aa24a2ea9b6ae0f8bfc2db789a188ec044130be1019f73f2ee19", kill_on_drop: false }` [INFO] [stdout] 147adf2a26d0aa24a2ea9b6ae0f8bfc2db789a188ec044130be1019f73f2ee19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 704c600458510e2f81a2b2c8a18f6b2ac837add06a555b8103250c2f4730eabf [INFO] running `Command { std: "docker" "start" "-a" "704c600458510e2f81a2b2c8a18f6b2ac837add06a555b8103250c2f4730eabf", kill_on_drop: false }` [INFO] [stderr] Compiling pinetime-macros v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:641:7 [INFO] [stdout] | [INFO] [stdout] 641 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:654:7 [INFO] [stdout] | [INFO] [stdout] 654 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:663:11 [INFO] [stdout] | [INFO] [stdout] 663 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/infer_type.rs:668:38 [INFO] [stdout] | [INFO] [stdout] 668 | let s = unsafe { format!("{:?}", CURRENT_FUNC) }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:641:7 [INFO] [stdout] | [INFO] [stdout] 641 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:654:7 [INFO] [stdout] | [INFO] [stdout] 654 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:663:11 [INFO] [stdout] | [INFO] [stdout] 663 | #[cfg(not(procmacro2_semver_exempt))] [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/infer_type.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | #[cfg(procmacro2_semver_exempt)] // For replay log [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(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/infer_type.rs:668:38 [INFO] [stdout] | [INFO] [stdout] 668 | let s = unsafe { format!("{:?}", CURRENT_FUNC) }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "704c600458510e2f81a2b2c8a18f6b2ac837add06a555b8103250c2f4730eabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704c600458510e2f81a2b2c8a18f6b2ac837add06a555b8103250c2f4730eabf", kill_on_drop: false }` [INFO] [stdout] 704c600458510e2f81a2b2c8a18f6b2ac837add06a555b8103250c2f4730eabf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f1fc0e4015fe11adbdf717cbc7281eaa35054e627020ca8755e2ab5d8557d48 [INFO] running `Command { std: "docker" "start" "-a" "4f1fc0e4015fe11adbdf717cbc7281eaa35054e627020ca8755e2ab5d8557d48", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/infer_type.rs:641:7 [INFO] [stderr] | [INFO] [stderr] 641 | #[cfg(procmacro2_semver_exempt)] // For replay log [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/infer_type.rs:650:11 [INFO] [stderr] | [INFO] [stderr] 650 | #[cfg(not(procmacro2_semver_exempt))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/infer_type.rs:654:7 [INFO] [stderr] | [INFO] [stderr] 654 | #[cfg(procmacro2_semver_exempt)] // For replay log [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/infer_type.rs:663:11 [INFO] [stderr] | [INFO] [stderr] 663 | #[cfg(not(procmacro2_semver_exempt))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/infer_type.rs:324:15 [INFO] [stderr] | [INFO] [stderr] 324 | #[cfg(procmacro2_semver_exempt)] // For replay log [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stderr] --> src/infer_type.rs:386:15 [INFO] [stderr] | [INFO] [stderr] 386 | #[cfg(procmacro2_semver_exempt)] // For replay log [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/infer_type.rs:668:38 [INFO] [stderr] | [INFO] [stderr] 668 | let s = unsafe { format!("{:?}", CURRENT_FUNC) }; [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pinetime-macros` (lib) generated 7 warnings [INFO] [stderr] warning: `pinetime-macros` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/macros-f2d6e2eeafca12f7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests macros [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - try_cbor (line 157) ... FAILED [INFO] [stdout] test src/lib.rs - init_strn (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - try_cbor (line 168) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `;` [INFO] [stdout] --> src/lib.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 1 | clear ; cargo rustc -- -Z unstable-options --pretty expanded | head -20 [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - try_cbor (line 157) stdout ---- [INFO] [stdout] error: cannot find macro `try_cbor` in this scope [INFO] [stdout] --> src/lib.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 3 | try_cbor!({ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use macros::try_cbor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_strn (line 132) stdout ---- [INFO] [stdout] error: cannot find macro `init_strn` in this scope [INFO] [stdout] --> src/lib.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 3 | static STATIC_STRN: Strn = init_strn!("network"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use macros::init_strn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `init_strn` in this scope [INFO] [stdout] --> src/lib.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 4 | let local_strn = init_strn!("network"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use macros::init_strn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Strn` in this scope [INFO] [stdout] --> src/lib.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 3 | static STATIC_STRN: Strn = init_strn!("network"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - try_cbor (line 168) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `COAP_CONTEXT` in this scope [INFO] [stdout] --> src/lib.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 4 | let encoder = COAP_CONTEXT.encoder("COAP_CONTEXT", "_map"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COAP_CONTEXT` in this scope [INFO] [stdout] --> src/lib.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 7 | COAP_CONTEXT.key_to_cstr(key_with_opt_null), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `key_with_opt_null` in this scope [INFO] [stdout] --> src/lib.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 7 | COAP_CONTEXT.key_to_cstr(key_with_opt_null), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COAP_CONTEXT` in this scope [INFO] [stdout] --> src/lib.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 8 | COAP_CONTEXT.cstr_len(key_with_opt_null)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `key_with_opt_null` in this scope [INFO] [stdout] --> src/lib.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 8 | COAP_CONTEXT.cstr_len(key_with_opt_null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COAP_CONTEXT` in this scope [INFO] [stdout] --> src/lib.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 9 | COAP_CONTEXT.check_result(res); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/lib.rs:176:50 [INFO] [stdout] | [INFO] [stdout] 10 | let res = tinycbor::cbor_encode_int(encoder, value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COAP_CONTEXT` in this scope [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 11 | COAP_CONTEXT.check_result(res); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tinycbor` [INFO] [stdout] --> src/lib.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 6 | tinycbor::cbor_encode_text_string(encoder, [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tinycbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tinycbor`, use `cargo add tinycbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tinycbor` [INFO] [stdout] --> src/lib.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 10 | let res = tinycbor::cbor_encode_int(encoder, value); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tinycbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tinycbor`, use `cargo add tinycbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - init_strn (line 132) [INFO] [stdout] src/lib.rs - try_cbor (line 157) [INFO] [stdout] src/lib.rs - try_cbor (line 168) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4f1fc0e4015fe11adbdf717cbc7281eaa35054e627020ca8755e2ab5d8557d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1fc0e4015fe11adbdf717cbc7281eaa35054e627020ca8755e2ab5d8557d48", kill_on_drop: false }` [INFO] [stdout] 4f1fc0e4015fe11adbdf717cbc7281eaa35054e627020ca8755e2ab5d8557d48