[INFO] fetching crate checksec 0.0.7... [INFO] testing checksec-0.0.7 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate checksec 0.0.7 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate checksec 0.0.7 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate checksec 0.0.7 [INFO] finished tweaking crates.io crate checksec 0.0.7 [INFO] tweaked toml for crates.io crate checksec 0.0.7 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate checksec 0.0.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored_json v2.1.0 [INFO] [stderr] Downloaded sysinfo v0.15.1 [INFO] [stderr] Downloaded libc v0.2.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f724bebb20ab15eda45ce8f97a5ca49f16374eb687b4b37c76e76974b24a7e8 [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" "5f724bebb20ab15eda45ce8f97a5ca49f16374eb687b4b37c76e76974b24a7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f724bebb20ab15eda45ce8f97a5ca49f16374eb687b4b37c76e76974b24a7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f724bebb20ab15eda45ce8f97a5ca49f16374eb687b4b37c76e76974b24a7e8", kill_on_drop: false }` [INFO] [stdout] 5f724bebb20ab15eda45ce8f97a5ca49f16374eb687b4b37c76e76974b24a7e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cdf47e3506c39719482584f2af3e00c0da4cb29c23d2052d891bdbf60de6dd3 [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" "0cdf47e3506c39719482584f2af3e00c0da4cb29c23d2052d891bdbf60de6dd3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.75 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling sysinfo v0.15.1 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling scroll_derive v0.10.2 [INFO] [stderr] Compiling scroll v0.10.1 [INFO] [stderr] Compiling goblin v0.2.3 [INFO] [stderr] Compiling colored_json v2.1.0 [INFO] [stderr] Compiling checksec v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "0cdf47e3506c39719482584f2af3e00c0da4cb29c23d2052d891bdbf60de6dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdf47e3506c39719482584f2af3e00c0da4cb29c23d2052d891bdbf60de6dd3", kill_on_drop: false }` [INFO] [stdout] 0cdf47e3506c39719482584f2af3e00c0da4cb29c23d2052d891bdbf60de6dd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad1ae599becc1227824c743c348be5f0bdcf64873c64a187ec3ec070428d448e [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" "ad1ae599becc1227824c743c348be5f0bdcf64873c64a187ec3ec070428d448e", kill_on_drop: false }` [INFO] [stderr] Compiling checksec v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "ad1ae599becc1227824c743c348be5f0bdcf64873c64a187ec3ec070428d448e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad1ae599becc1227824c743c348be5f0bdcf64873c64a187ec3ec070428d448e", kill_on_drop: false }` [INFO] [stdout] ad1ae599becc1227824c743c348be5f0bdcf64873c64a187ec3ec070428d448e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5cf95c035f8aebe499443a194296cf7ac876c8b1c6901e736cdb1458f404e642 [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" "5cf95c035f8aebe499443a194296cf7ac876c8b1c6901e736cdb1458f404e642", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-490056b902d45a77 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-df2c70d2cb4f8e76 [INFO] [stderr] Doc-tests checksec [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/pe.rs - pe::PECheckSecResults (line 239) ... FAILED [INFO] [stdout] test src/macho.rs - macho::MachOProperties (line 130) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfCheckSecResults (line 77) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfProperties (line 189) ... FAILED [INFO] [stdout] test src/macho.rs - macho::MachOCheckSecResults (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/pe.rs - pe::PEProperties (line 381) ... ok [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/pe.rs - pe::PECheckSecResults (line 239) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/pe.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 14 | Object::PE(pe) => println!( [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/pe.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(obj) = Object::parse(&buf) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use goblin::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PECheckSecResults` [INFO] [stdout] --> src/pe.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 16 | PECheckSecResults::parse(&pe, &buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use checksec::pe::PECheckSecResults; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macho.rs - macho::MachOProperties (line 130) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/macho.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `AsRef` is not implemented for `File` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/macho.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(macho) = MachO::parse(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/elf.rs - elf::ElfCheckSecResults (line 77) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/elf.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `AsRef` is not implemented for `File` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/elf.rs - elf::ElfProperties (line 189) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/elf.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `AsRef` is not implemented for `File` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macho.rs - macho::MachOCheckSecResults (line 21) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/macho.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `AsRef` is not implemented for `File` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/macho.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(macho) = MachO::parse(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/elf.rs - elf::ElfCheckSecResults (line 77) [INFO] [stdout] src/elf.rs - elf::ElfProperties (line 189) [INFO] [stdout] src/macho.rs - macho::MachOCheckSecResults (line 21) [INFO] [stdout] src/macho.rs - macho::MachOProperties (line 130) [INFO] [stdout] src/pe.rs - pe::PECheckSecResults (line 239) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5cf95c035f8aebe499443a194296cf7ac876c8b1c6901e736cdb1458f404e642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf95c035f8aebe499443a194296cf7ac876c8b1c6901e736cdb1458f404e642", kill_on_drop: false }` [INFO] [stdout] 5cf95c035f8aebe499443a194296cf7ac876c8b1c6901e736cdb1458f404e642