[INFO] cloning repository https://github.com/CompEng0001/jetson-nano-gpio
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CompEng0001/jetson-nano-gpio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCompEng0001%2Fjetson-nano-gpio", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCompEng0001%2Fjetson-nano-gpio'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7eaf1610f4d861c587d8c61249a861d30137d1a8
[INFO] testing CompEng0001/jetson-nano-gpio against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCompEng0001%2Fjetson-nano-gpio" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CompEng0001/jetson-nano-gpio
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/CompEng0001/jetson-nano-gpio
[INFO] tweaked toml for git repo https://github.com/CompEng0001/jetson-nano-gpio written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CompEng0001/jetson-nano-gpio on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CompEng0001/jetson-nano-gpio already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 19b07d6b10214225dbc7c96dc8899363eff7304d81ad5b493c8bd59a543bc4c3
[INFO] running `Command { std: "docker" "start" "-a" "19b07d6b10214225dbc7c96dc8899363eff7304d81ad5b493c8bd59a543bc4c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19b07d6b10214225dbc7c96dc8899363eff7304d81ad5b493c8bd59a543bc4c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19b07d6b10214225dbc7c96dc8899363eff7304d81ad5b493c8bd59a543bc4c3", kill_on_drop: false }`
[INFO] [stdout] 19b07d6b10214225dbc7c96dc8899363eff7304d81ad5b493c8bd59a543bc4c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8052afcc1c2e00afb8ba38ad0f9fab0ce0ad6d1694b490a0efeb422b84927c27
[INFO] running `Command { std: "docker" "start" "-a" "8052afcc1c2e00afb8ba38ad0f9fab0ce0ad6d1694b490a0efeb422b84927c27", kill_on_drop: false }`
[INFO] [stderr]    Compiling jetson_nano_gpio v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/gpio.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] running `Command { std: "docker" "inspect" "8052afcc1c2e00afb8ba38ad0f9fab0ce0ad6d1694b490a0efeb422b84927c27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8052afcc1c2e00afb8ba38ad0f9fab0ce0ad6d1694b490a0efeb422b84927c27", kill_on_drop: false }`
[INFO] [stdout] 8052afcc1c2e00afb8ba38ad0f9fab0ce0ad6d1694b490a0efeb422b84927c27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 457de5388794b4cc3497c343df2b1d162346c6b1f99cc46c71d56faafa94c060
[INFO] running `Command { std: "docker" "start" "-a" "457de5388794b4cc3497c343df2b1d162346c6b1f99cc46c71d56faafa94c060", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/gpio.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling jetson_nano_gpio v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/gpio.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s
[INFO] running `Command { std: "docker" "inspect" "457de5388794b4cc3497c343df2b1d162346c6b1f99cc46c71d56faafa94c060", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "457de5388794b4cc3497c343df2b1d162346c6b1f99cc46c71d56faafa94c060", kill_on_drop: false }`
[INFO] [stdout] 457de5388794b4cc3497c343df2b1d162346c6b1f99cc46c71d56faafa94c060
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b56b1639bd6cf868afc598318506c94caa8e99279c1ed22e497d63224354829b
[INFO] running `Command { std: "docker" "start" "-a" "b56b1639bd6cf868afc598318506c94caa8e99279c1ed22e497d63224354829b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]  --> src/gpio.rs:4:21
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{Read, Write};
[INFO] [stderr]   |                     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `jetson_nano_gpio` (lib) generated 1 warning (run `cargo fix --lib -p jetson_nano_gpio` to apply 1 suggestion)
[INFO] [stderr] warning: `jetson_nano_gpio` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jetson_nano_gpio-376274c0a563d677)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jetson_nano_gpio-49f56053fdcced3f)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests jetson_nano_gpio
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::read_value (line 418) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::set_pin_to_alternate (line 513) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::unexport (line 376) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::PinDefinition::lookup (line 29) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::disable (line 121) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::export (line 360) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::unexport (line 80) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::new (line 319) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::set_pin_to_default (line 532) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::enable (line 99) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::export (line 57) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::get_default_function (line 467) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::get_alternate_function (line 442) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::write_value (line 399) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::set_duty_cycle (line 147) ... FAILED
[INFO] [stdout] test src/gpio.rs - gpio::Gpio::set_current_function (line 490) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::new (line 27) ... FAILED
[INFO] [stdout] test src/pwm.rs - pwm::Pwm::set_period (line 173) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::read_value (line 418) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gpio` in this scope
[INFO] [stdout]    --> src/gpio.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 | let value = gpio.read_value()?;
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::set_pin_to_alternate (line 513) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gpio` in this scope
[INFO] [stdout]    --> src/gpio.rs:514:1
[INFO] [stdout]     |
[INFO] [stdout] 514 | gpio.set_pin_to_alternate()?;
[INFO] [stdout]     | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::unexport (line 376) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gpio`
[INFO] [stdout]    --> src/gpio.rs:377:1
[INFO] [stdout]     |
[INFO] [stdout] 377 | Gpio::unexport()?;
[INFO] [stdout]     | ^^^^ use of undeclared type `Gpio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 376 + use jetson_nano_gpio::Gpio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::PinDefinition::lookup (line 29) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PinDefinition`
[INFO] [stdout]   --> src/gpio.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 | let pin_map = PinDefinition::lookup();
[INFO] [stdout]    |               ^^^^^^^^^^^^^ use of undeclared type `PinDefinition`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 29 + use jetson_nano_gpio::gpio::PinDefinition;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::disable (line 121) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pwm` in this scope
[INFO] [stdout]    --> src/pwm.rs:122:1
[INFO] [stdout]     |
[INFO] [stdout] 122 | pwm.disable()?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::export (line 360) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gpio`
[INFO] [stdout]    --> src/gpio.rs:361:1
[INFO] [stdout]     |
[INFO] [stdout] 361 | Gpio::export()?;
[INFO] [stdout]     | ^^^^ use of undeclared type `Gpio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 360 + use jetson_nano_gpio::Gpio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::unexport (line 80) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pwm`
[INFO] [stdout]   --> src/pwm.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | Pwm::unexport(168)?;
[INFO] [stdout]    | ^^^ use of undeclared type `Pwm`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 80 + use jetson_nano_gpio::Pwm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::new (line 319) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gpio`
[INFO] [stdout]    --> src/gpio.rs:320:20
[INFO] [stdout]     |
[INFO] [stdout] 320 | let phyiscal_pin = Gpio::new(3)?;
[INFO] [stdout]     |                    ^^^^ use of undeclared type `Gpio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 319 + use jetson_nano_gpio::Gpio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::set_pin_to_default (line 532) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gpio` in this scope
[INFO] [stdout]    --> src/gpio.rs:533:1
[INFO] [stdout]     |
[INFO] [stdout] 533 | gpio.set_pin_to_default()?;
[INFO] [stdout]     | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::enable (line 99) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pwm` in this scope
[INFO] [stdout]    --> src/pwm.rs:100:1
[INFO] [stdout]     |
[INFO] [stdout] 100 | pwm.enable()?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::export (line 57) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pwm`
[INFO] [stdout]   --> src/pwm.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | Pwm::export(168)?;
[INFO] [stdout]    | ^^^ use of undeclared type `Pwm`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 57 + use jetson_nano_gpio::Pwm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::get_default_function (line 467) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gpio`
[INFO] [stdout]    --> src/gpio.rs:468:24
[INFO] [stdout]     |
[INFO] [stdout] 468 | let default_function = Gpio::get_default_function(3)?;
[INFO] [stdout]     |                        ^^^^ use of undeclared type `Gpio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 467 + use jetson_nano_gpio::Gpio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::get_alternate_function (line 442) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gpio`
[INFO] [stdout]    --> src/gpio.rs:443:20
[INFO] [stdout]     |
[INFO] [stdout] 443 | let alt_function = Gpio::get_alternate_function(3)?;
[INFO] [stdout]     |                    ^^^^ use of undeclared type `Gpio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 442 + use jetson_nano_gpio::Gpio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::write_value (line 399) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gpio` in this scope
[INFO] [stdout]    --> src/gpio.rs:400:1
[INFO] [stdout]     |
[INFO] [stdout] 400 | gpio.write_value(1)?;
[INFO] [stdout]     | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::set_duty_cycle (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pwm` in this scope
[INFO] [stdout]    --> src/pwm.rs:148:1
[INFO] [stdout]     |
[INFO] [stdout] 148 | pwm.set_duty_cycle(1_000_000)?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/gpio.rs - gpio::Gpio::set_current_function (line 490) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gpio` in this scope
[INFO] [stdout]    --> src/gpio.rs:491:1
[INFO] [stdout]     |
[INFO] [stdout] 491 | gpio.set_current_function("gpio")?;
[INFO] [stdout]     | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::new (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pwm`
[INFO] [stdout]   --> src/pwm.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | let pwm = Pwm::new(32)?;
[INFO] [stdout]    |           ^^^ use of undeclared type `Pwm`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 27 + use jetson_nano_gpio::Pwm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pwm.rs - pwm::Pwm::set_period (line 173) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pwm` in this scope
[INFO] [stdout]    --> src/pwm.rs:174:1
[INFO] [stdout]     |
[INFO] [stdout] 174 | pwm.set_period(20_000_000)?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::export (line 360)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::get_alternate_function (line 442)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::get_default_function (line 467)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::new (line 319)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::read_value (line 418)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::set_current_function (line 490)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::set_pin_to_alternate (line 513)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::set_pin_to_default (line 532)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::unexport (line 376)
[INFO] [stdout]     src/gpio.rs - gpio::Gpio::write_value (line 399)
[INFO] [stdout]     src/gpio.rs - gpio::PinDefinition::lookup (line 29)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::disable (line 121)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::enable (line 99)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::export (line 57)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::new (line 27)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::set_duty_cycle (line 147)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::set_period (line 173)
[INFO] [stdout]     src/pwm.rs - pwm::Pwm::unexport (line 80)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b56b1639bd6cf868afc598318506c94caa8e99279c1ed22e497d63224354829b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b56b1639bd6cf868afc598318506c94caa8e99279c1ed22e497d63224354829b", kill_on_drop: false }`
[INFO] [stdout] b56b1639bd6cf868afc598318506c94caa8e99279c1ed22e497d63224354829b
