[INFO] fetching crate checksec 0.0.8... [INFO] testing checksec-0.0.8 against 1.49.0 for beta-1.50-1 [INFO] extracting crate checksec 0.0.8 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate checksec 0.0.8 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate checksec 0.0.8 [INFO] finished tweaking crates.io crate checksec 0.0.8 [INFO] tweaked toml for crates.io crate checksec 0.0.8 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate checksec 0.0.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49af9917aa5cd68e1fbb1e5c14caec5fe6c77f01b4e727a9fdf267c79c9e0a53 [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" "49af9917aa5cd68e1fbb1e5c14caec5fe6c77f01b4e727a9fdf267c79c9e0a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49af9917aa5cd68e1fbb1e5c14caec5fe6c77f01b4e727a9fdf267c79c9e0a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49af9917aa5cd68e1fbb1e5c14caec5fe6c77f01b4e727a9fdf267c79c9e0a53", kill_on_drop: false }` [INFO] [stdout] 49af9917aa5cd68e1fbb1e5c14caec5fe6c77f01b4e727a9fdf267c79c9e0a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--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] c257bb4dd4bfd7e5299c03d47611f069364dd81d1602ec2f028f521bcd59f048 [INFO] running `Command { std: "docker" "start" "-a" "c257bb4dd4bfd7e5299c03d47611f069364dd81d1602ec2f028f521bcd59f048", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.75 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling sysinfo v0.15.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [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 quote v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling scroll_derive v0.10.4 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.2.3 [INFO] [stderr] Compiling colored_json v2.1.0 [INFO] [stderr] Compiling checksec v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "c257bb4dd4bfd7e5299c03d47611f069364dd81d1602ec2f028f521bcd59f048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c257bb4dd4bfd7e5299c03d47611f069364dd81d1602ec2f028f521bcd59f048", kill_on_drop: false }` [INFO] [stdout] c257bb4dd4bfd7e5299c03d47611f069364dd81d1602ec2f028f521bcd59f048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b00a185a48ceee7aa0f2b44d52d8bc05179a10fee5e2ab914246baaf9bed13a [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" "0b00a185a48ceee7aa0f2b44d52d8bc05179a10fee5e2ab914246baaf9bed13a", kill_on_drop: false }` [INFO] [stderr] Compiling checksec v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "0b00a185a48ceee7aa0f2b44d52d8bc05179a10fee5e2ab914246baaf9bed13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b00a185a48ceee7aa0f2b44d52d8bc05179a10fee5e2ab914246baaf9bed13a", kill_on_drop: false }` [INFO] [stdout] 0b00a185a48ceee7aa0f2b44d52d8bc05179a10fee5e2ab914246baaf9bed13a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", 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] a0a2d41046400eb522455ad6a76b64d1a2029c659cbe13149eaefe6d9a8be3a4 [INFO] running `Command { std: "docker" "start" "-a" "a0a2d41046400eb522455ad6a76b64d1a2029c659cbe13149eaefe6d9a8be3a4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-fd1782a928feacbf [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-cf798733f124f382 [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 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests checksec [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/macho.rs - macho::MachOProperties (line 128) ... FAILED [INFO] [stdout] test src/pe.rs - pe::PECheckSecResults (line 243) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfProperties (line 202) ... FAILED [INFO] [stdout] test src/macho.rs - macho::MachOCheckSecResults (line 21) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfCheckSecResults (line 91) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/pe.rs - pe::PEProperties (line 384) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macho.rs - macho::MachOProperties (line 128) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/macho.rs:135: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:136: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/pe.rs - pe::PECheckSecResults (line 243) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/pe.rs:254: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:252: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:256: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/elf.rs - elf::ElfProperties (line 202) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/elf.rs:209: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] ---- src/elf.rs - elf::ElfCheckSecResults (line 91) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `File: AsRef` is not satisfied [INFO] [stdout] --> src/elf.rs:98: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] [INFO] [stdout] failures: [INFO] [stdout] src/elf.rs - elf::ElfCheckSecResults (line 91) [INFO] [stdout] src/elf.rs - elf::ElfProperties (line 202) [INFO] [stdout] src/macho.rs - macho::MachOCheckSecResults (line 21) [INFO] [stdout] src/macho.rs - macho::MachOProperties (line 128) [INFO] [stdout] src/pe.rs - pe::PECheckSecResults (line 243) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0a2d41046400eb522455ad6a76b64d1a2029c659cbe13149eaefe6d9a8be3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a2d41046400eb522455ad6a76b64d1a2029c659cbe13149eaefe6d9a8be3a4", kill_on_drop: false }` [INFO] [stdout] a0a2d41046400eb522455ad6a76b64d1a2029c659cbe13149eaefe6d9a8be3a4