[INFO] cloning repository https://github.com/APoniatowski/RuSSH [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/APoniatowski/RuSSH" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAPoniatowski%2FRuSSH"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAPoniatowski%2FRuSSH'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 87fee53f6ebd97d5f15d046f638bf1df684e4899 [INFO] checking APoniatowski/RuSSH against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAPoniatowski%2FRuSSH" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/APoniatowski/RuSSH on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/APoniatowski/RuSSH [INFO] finished tweaking git repo https://github.com/APoniatowski/RuSSH [INFO] tweaked toml for git repo https://github.com/APoniatowski/RuSSH written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/APoniatowski/RuSSH already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-log v2.0.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2f87c24c1cbfd82b9d709e6a307ef811e68b80d0e6a97847069394d1e0cef7eb [INFO] running `"docker" "start" "-a" "2f87c24c1cbfd82b9d709e6a307ef811e68b80d0e6a97847069394d1e0cef7eb"` [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling libssh2-sys v0.2.12 [INFO] [stderr] Checking backtrace-sys v0.1.31 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking ssh2 v0.4.0 [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | / bitflags! { [INFO] [stderr] 81 | | /// Options to `Sftp::rename`. [INFO] [stderr] 82 | | pub struct RenameFlags: c_long { [INFO] [stderr] 83 | | /// In a rename operation, overwrite the destination if it already [INFO] [stderr] ... | [INFO] [stderr] 93 | | } [INFO] [stderr] 94 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / bitflags! { [INFO] [stderr] 57 | | /// Options that can be used to configure how a file is opened [INFO] [stderr] 58 | | pub struct OpenFlags: c_ulong { [INFO] [stderr] 59 | | /// Open the file for reading. [INFO] [stderr] ... | [INFO] [stderr] 77 | | } [INFO] [stderr] 78 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | / bitflags! { [INFO] [stderr] 81 | | /// Options to `Sftp::rename`. [INFO] [stderr] 82 | | pub struct RenameFlags: c_long { [INFO] [stderr] 83 | | /// In a rename operation, overwrite the destination if it already [INFO] [stderr] ... | [INFO] [stderr] 93 | | } [INFO] [stderr] 94 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | / bitflags! { [INFO] [stderr] 81 | | /// Options to `Sftp::rename`. [INFO] [stderr] 82 | | pub struct RenameFlags: c_long { [INFO] [stderr] 83 | | /// In a rename operation, overwrite the destination if it already [INFO] [stderr] ... | [INFO] [stderr] 93 | | } [INFO] [stderr] 94 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ssh2-0.4.0/src/sftp.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | / bitflags! { [INFO] [stderr] 81 | | /// Options to `Sftp::rename`. [INFO] [stderr] 82 | | pub struct RenameFlags: c_long { [INFO] [stderr] 83 | | /// In a rename operation, overwrite the destination if it already [INFO] [stderr] ... | [INFO] [stderr] 93 | | } [INFO] [stderr] 94 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `ssh2`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "2f87c24c1cbfd82b9d709e6a307ef811e68b80d0e6a97847069394d1e0cef7eb"` [INFO] running `"docker" "rm" "-f" "2f87c24c1cbfd82b9d709e6a307ef811e68b80d0e6a97847069394d1e0cef7eb"` [INFO] [stdout] 2f87c24c1cbfd82b9d709e6a307ef811e68b80d0e6a97847069394d1e0cef7eb