[INFO] cloning repository https://github.com/dries-vl/rustpy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dries-vl/rustpy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdries-vl%2Frustpy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdries-vl%2Frustpy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 398a77fc8cfabac174bd11b98cb68488ac7b0005 [INFO] checking dries-vl/rustpy/398a77fc8cfabac174bd11b98cb68488ac7b0005 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdries-vl%2Frustpy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dries-vl/rustpy on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dries-vl/rustpy [INFO] finished tweaking git repo https://github.com/dries-vl/rustpy [INFO] tweaked toml for git repo https://github.com/dries-vl/rustpy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/rustpy-macros/Cargo.toml: library `rustpy-macros` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded python3-sys v0.7.1 [INFO] [stderr] Downloaded cpython v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0397535904b9166b7d5e29d2ace570303eb35dd74615acda3545775004dcfe0b [INFO] running `Command { std: "docker" "start" "-a" "0397535904b9166b7d5e29d2ace570303eb35dd74615acda3545775004dcfe0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0397535904b9166b7d5e29d2ace570303eb35dd74615acda3545775004dcfe0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0397535904b9166b7d5e29d2ace570303eb35dd74615acda3545775004dcfe0b", kill_on_drop: false }` [INFO] [stdout] 0397535904b9166b7d5e29d2ace570303eb35dd74615acda3545775004dcfe0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af88189b5f74e5821c75c0fcd2fcff4861aae326d6df63ed790d38f83f95eca5 [INFO] running `Command { std: "docker" "start" "-a" "af88189b5f74e5821c75c0fcd2fcff4861aae326d6df63ed790d38f83f95eca5", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/rustpy-macros/Cargo.toml: library `rustpy-macros` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cpython v0.7.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking rustpy-dylib v0.1.0 (/opt/rustwide/workdir/rustpy-dylib) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking rustpy-macros v0.1.0 (/opt/rustwide/workdir/rustpy-macros) [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling python3-sys v0.7.1 [INFO] [stderr] Checking rustpy v0.1.0 (/opt/rustwide/workdir/rustpy) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> rustpy/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> rustpy/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_modified_time` is never used [INFO] [stdout] --> rustpy/src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_last_modified_time(file_path: &str) -> SystemTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `menu` is never read [INFO] [stdout] --> rustpy/src/button.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Button { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub id: String, [INFO] [stdout] 13 | menu: MenuResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Button` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_modified_time` is never used [INFO] [stdout] --> rustpy/src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_last_modified_time(file_path: &str) -> SystemTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PRESSED` and `RELEASED` are never constructed [INFO] [stdout] --> rustpy/src/button/button_result.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ButtonResult { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 4 | PRESSED, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | BROKEN, [INFO] [stdout] 6 | RELEASED [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `menu` is never read [INFO] [stdout] --> rustpy/src/button.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Button { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub id: String, [INFO] [stdout] 13 | menu: MenuResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Button` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> rustpy/src/menu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Menu { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Menu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BAD` is never constructed [INFO] [stdout] --> rustpy/src/menu/menu_result.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MenuResult { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 5 | BAD, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PRESSED` and `RELEASED` are never constructed [INFO] [stdout] --> rustpy/src/button/button_result.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ButtonResult { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 4 | PRESSED, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | BROKEN, [INFO] [stdout] 6 | RELEASED [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> rustpy/src/menu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Menu { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Menu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BAD` is never constructed [INFO] [stdout] --> rustpy/src/menu/menu_result.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MenuResult { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 5 | BAD, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "af88189b5f74e5821c75c0fcd2fcff4861aae326d6df63ed790d38f83f95eca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af88189b5f74e5821c75c0fcd2fcff4861aae326d6df63ed790d38f83f95eca5", kill_on_drop: false }` [INFO] [stdout] af88189b5f74e5821c75c0fcd2fcff4861aae326d6df63ed790d38f83f95eca5