[INFO] cloning repository https://github.com/AutomatedTester/browser-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AutomatedTester/browser-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAutomatedTester%2Fbrowser-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAutomatedTester%2Fbrowser-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8272d37b4316633f8121c0ac57e03f631dda4834 [INFO] checking AutomatedTester/browser-manager against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAutomatedTester%2Fbrowser-manager" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 53% (2209/4098) Checking out files: 54% (2213/4098) Checking out files: 55% (2254/4098) Checking out files: 56% (2295/4098) Checking out files: 57% (2336/4098) Checking out files: 58% (2377/4098) Checking out files: 59% (2418/4098) Checking out files: 60% (2459/4098) Checking out files: 61% (2500/4098) Checking out files: 62% (2541/4098) Checking out files: 63% (2582/4098) Checking out files: 64% (2623/4098) Checking out files: 65% (2664/4098) Checking out files: 66% (2705/4098) Checking out files: 67% (2746/4098) Checking out files: 68% (2787/4098) Checking out files: 69% (2828/4098) Checking out files: 70% (2869/4098) Checking out files: 71% (2910/4098) Checking out files: 72% (2951/4098) Checking out files: 73% (2992/4098) Checking out files: 74% (3033/4098) Checking out files: 75% (3074/4098) Checking out files: 76% (3115/4098) Checking out files: 77% (3156/4098) Checking out files: 78% (3197/4098) Checking out files: 79% (3238/4098) Checking out files: 80% (3279/4098) Checking out files: 81% (3320/4098) Checking out files: 82% (3361/4098) Checking out files: 83% (3402/4098) Checking out files: 84% (3443/4098) Checking out files: 85% (3484/4098) Checking out files: 86% (3525/4098) Checking out files: 87% (3566/4098) Checking out files: 88% (3607/4098) Checking out files: 89% (3648/4098) Checking out files: 90% (3689/4098) Checking out files: 91% (3730/4098) Checking out files: 92% (3771/4098) Checking out files: 93% (3812/4098) Checking out files: 94% (3853/4098) Checking out files: 95% (3894/4098) Checking out files: 96% (3935/4098) Checking out files: 97% (3976/4098) Checking out files: 98% (4017/4098) Checking out files: 99% (4058/4098) Checking out files: 100% (4098/4098) Checking out files: 100% (4098/4098), done. [INFO] validating manifest of git repo https://github.com/AutomatedTester/browser-manager on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config [INFO] started tweaking git repo https://github.com/AutomatedTester/browser-manager [INFO] finished tweaking git repo https://github.com/AutomatedTester/browser-manager [INFO] tweaked toml for git repo https://github.com/AutomatedTester/browser-manager written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/AutomatedTester/browser-manager already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b01e858e06c0114cb28d1efeda940235ef6aeddd8f055a265c638ef715fcf25 [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" "5b01e858e06c0114cb28d1efeda940235ef6aeddd8f055a265c638ef715fcf25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b01e858e06c0114cb28d1efeda940235ef6aeddd8f055a265c638ef715fcf25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b01e858e06c0114cb28d1efeda940235ef6aeddd8f055a265c638ef715fcf25", kill_on_drop: false }` [INFO] [stdout] 5b01e858e06c0114cb28d1efeda940235ef6aeddd8f055a265c638ef715fcf25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b09dd54b362e41f6f745913e71ec75d2035d1b4e348710d1152c3577d2b81fac [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" "b09dd54b362e41f6f745913e71ec75d2035d1b4e348710d1152c3577d2b81fac", kill_on_drop: false }` [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking which v3.1.1 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.5.6 [INFO] [stderr] Checking browser-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ZipArchive`, `read` [INFO] [stdout] --> src/browser.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use zip::{read, ZipArchive}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ZipArchive`, `read` [INFO] [stdout] --> src/browser.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use zip::{read, ZipArchive}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zip` [INFO] [stdout] --> src/browser.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut zip = zip::ZipArchive::new(zip_reader)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/browser.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut zip = zip::ZipArchive::new(zip_reader)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Browser` [INFO] [stdout] --> src/browser.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Browser { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/browser.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(name: String, driver_path: String, browser_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpack_zip` [INFO] [stdout] --> src/browser.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn unpack_zip(&self, file: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zip` [INFO] [stdout] --> src/browser.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut zip = zip::ZipArchive::new(zip_reader)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con` [INFO] [stdout] --> src/browser.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(con) => Ok(file), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_con` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/browser.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!("Couldn't write to file") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/browser.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => panic!("Error when creating file for test") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/browser.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut zip = zip::ZipArchive::new(zip_reader)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/browser.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut contents = file.write_all(b"Hello, world!"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/browser.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | create_file("cheese.txt".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.96s [INFO] running `Command { std: "docker" "inspect" "b09dd54b362e41f6f745913e71ec75d2035d1b4e348710d1152c3577d2b81fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09dd54b362e41f6f745913e71ec75d2035d1b4e348710d1152c3577d2b81fac", kill_on_drop: false }` [INFO] [stdout] b09dd54b362e41f6f745913e71ec75d2035d1b4e348710d1152c3577d2b81fac