[INFO] cloning repository https://github.com/fschutt/pyo3-bug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschutt/pyo3-bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fpyo3-bug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fpyo3-bug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a571a2e967f6f79899daf7754e6cc10d04154284 [INFO] checking fschutt/pyo3-bug against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fpyo3-bug" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/pyo3-bug on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fschutt/pyo3-bug [INFO] finished tweaking git repo https://github.com/fschutt/pyo3-bug [INFO] tweaked toml for git repo https://github.com/fschutt/pyo3-bug written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/fschutt/pyo3-bug already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/PyO3/pyo3` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8186d761993cf58266285282b2c74b353279f7ad6a517bff18cd7da28bf2cf30 [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" "8186d761993cf58266285282b2c74b353279f7ad6a517bff18cd7da28bf2cf30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8186d761993cf58266285282b2c74b353279f7ad6a517bff18cd7da28bf2cf30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8186d761993cf58266285282b2c74b353279f7ad6a517bff18cd7da28bf2cf30", kill_on_drop: false }` [INFO] [stdout] 8186d761993cf58266285282b2c74b353279f7ad6a517bff18cd7da28bf2cf30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7e7585911230e93f6c87610d7a8f306e65ad38aef0d29fcad839bfcf56339b16 [INFO] running `Command { std: "docker" "start" "-a" "7e7585911230e93f6c87610d7a8f306e65ad38aef0d29fcad839bfcf56339b16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pyo3 v0.13.2 (https://github.com/PyO3/pyo3?rev=1ae3d8797315419e9843b7922a7a658b01dfe52a#1ae3d879) [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 104 | _ => bail!("Invalid interpreter: {}", s), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 127 | _ => bail!("{} must be a bool (1/true/True or 0/false/False", key), [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 258 | / ensure!( [INFO] [stdout] 259 | | split_stdout.len() == BuildFlags::ALL.len(), [INFO] [stdout] 260 | | "Python stdout len didn't return expected number of lines: {}", [INFO] [stdout] 261 | | split_stdout.len() [INFO] [stdout] 262 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 509 | _ => bail!( [INFO] [stdout] | __________________- [INFO] [stdout] 510 | | "Expected major.minor version (e.g. 3.9) for PYO3_CROSS_PYTHON_VERSION, got `{}`", [INFO] [stdout] 511 | | version [INFO] [stdout] 512 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | ($msg: expr) => { return Err($msg.into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 517 | bail!("PYO3_CROSS_PYTHON_VERSION or an abi3-py3* feature must be specified when cross-compiling for Windows.") [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 540 | Some(os) => bail!( [INFO] [stdout] | _____________________- [INFO] [stdout] 541 | | "Unsupported target OS family for cross-compilation: {:?}", [INFO] [stdout] 542 | | os [INFO] [stdout] 543 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 568 | Err(err) => bail!( [INFO] [stdout] | _____________________- [INFO] [stdout] 569 | | "failed to run the Python interpreter at {}: {}", [INFO] [stdout] 570 | | interpreter.display(), [INFO] [stdout] 571 | | err [INFO] [stdout] 572 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | ($msg: expr) => { return Err($msg.into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 573 | Ok(ok) if !ok.status.success() => bail!("Python script failed"), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | ($msg: expr) => { return Err($msg.into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 602 | None => bail!("failed to configure `ld_version` when compiling for unix"), [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | ($msg: expr) => { return Err($msg.into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 715 | _ => bail!("Unrecognised link model combination") [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 739 | / ensure!( [INFO] [stdout] 740 | | interpreter_config.version >= MINIMUM_SUPPORTED_VERSION, [INFO] [stdout] 741 | | "the configured Python interpreter version ({}) is lower than PyO3's minimum supported version ({})", [INFO] [stdout] 742 | | interpreter_config.version, [INFO] [stdout] 743 | | MINIMUM_SUPPORTED_VERSION, [INFO] [stdout] 744 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 803 | / ensure!( [INFO] [stdout] 804 | | interpreter_config.shared, [INFO] [stdout] 805 | | "The `auto-initialize` feature is enabled, but your python installation only supports \ [INFO] [stdout] 806 | | embedding the Python interpreter statically. If you are attempting to run tests, or a \ [INFO] [stdout] ... | [INFO] [stdout] 816 | | pyo3_version = env::var("CARGO_PKG_VERSION").unwrap() [INFO] [stdout] 817 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | ($msg: expr) => { return Err($msg.into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 822 | / ensure!( [INFO] [stdout] 823 | | !interpreter_config.is_pypy() || env::var_os("PYO3_CI").is_some(), [INFO] [stdout] 824 | | "The `auto-initialize` feature is not supported with PyPy." [INFO] [stdout] 825 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | println!(concat!("cargo:warning=", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 833 | / warn!( [INFO] [stdout] 834 | | "PyPy does not yet support abi3 so the build artifacts will be version-specific. \ [INFO] [stdout] 835 | | See https://foss.heptapod.net/pypy/pypy/-/issues/3397 for more information." [INFO] [stdout] 836 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 844 | Some(minor) if minor > interpreter_config.version.minor => bail!( [INFO] [stdout] | ________________________________________________________________________- [INFO] [stdout] 845 | | "You cannot set a mininimum Python version 3.{} higher than the interpreter version 3.{}", [INFO] [stdout] 846 | | minor, [INFO] [stdout] 847 | | interpreter_config.version.minor [INFO] [stdout] 848 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 881 | x => bail!("unexpected Rust target pointer width: {}", x), [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 897 | Some(n) => bail!("unexpected Python calcsize_pointer value: {}", n), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pyo3-a22e69bc62b9f0fd/1ae3d87/build.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | ($fmt: literal $($args: tt)+) => { return Err(format!($fmt $($args)+).into()); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 900 | / ensure!( [INFO] [stdout] 901 | | rust_target == python_target, [INFO] [stdout] 902 | | "Your Rust target architecture ({}) does not match your python interpreter ({})", [INFO] [stdout] 903 | | rust_target, [INFO] [stdout] 904 | | python_target [INFO] [stdout] 905 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` [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" "7e7585911230e93f6c87610d7a8f306e65ad38aef0d29fcad839bfcf56339b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7585911230e93f6c87610d7a8f306e65ad38aef0d29fcad839bfcf56339b16", kill_on_drop: false }` [INFO] [stdout] 7e7585911230e93f6c87610d7a8f306e65ad38aef0d29fcad839bfcf56339b16