Skip to content

Python based REPL for debugger #81

Python based REPL for debugger

Python based REPL for debugger #81

Triggered via pull request December 6, 2023 22:25
@simonrwsimonrw
synchronize #28
python-ui
Status Success
Total duration 59s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

check.yml

on: pull_request
stable / fmt
7s
stable / fmt
nightly / doc
28s
nightly / doc
ubuntu / stable / features
47s
ubuntu / stable / features
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
unneeded `return` statement: pythondap/src/lib.rs#L118
warning: unneeded `return` statement --> pythondap/src/lib.rs:118:17 | 118 | return Ok(None); | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 118 - return Ok(None); 118 + Ok(None) |
the borrowed expression implements the required traits: pythondap/src/lib.rs#L58
warning: the borrowed expression implements the required traits --> pythondap/src/lib.rs:58:41 | 58 | let stream = TcpStream::connect(&format!("127.0.0.1:{port}")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("127.0.0.1:{port}")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
method `resume` is never used: pythondap/src/lib.rs#L96
warning: method `resume` is never used --> pythondap/src/lib.rs:96:12 | 49 | impl Debugger { | ------------- method in this implementation ... 96 | pub fn resume(&mut self) -> PyResult<Option<ProgramState>> { | ^^^^^^
fields `internal` and `launched` are never read: pythondap/src/lib.rs#L25
warning: fields `internal` and `launched` are never read --> pythondap/src/lib.rs:25:5 | 24 | struct Debugger { | -------- fields in this struct 25 | internal: debugger::Debugger, | ^^^^^^^^ 26 | _events: Arc<Mutex<Vec<Event>>>, 27 | launched: bool, | ^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unneeded `return` statement: pythondap/src/lib.rs#L118
warning: unneeded `return` statement --> pythondap/src/lib.rs:118:17 | 118 | return Ok(None); | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 118 - return Ok(None); 118 + Ok(None) |
the borrowed expression implements the required traits: pythondap/src/lib.rs#L58
warning: the borrowed expression implements the required traits --> pythondap/src/lib.rs:58:41 | 58 | let stream = TcpStream::connect(&format!("127.0.0.1:{port}")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("127.0.0.1:{port}")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
method `resume` is never used: pythondap/src/lib.rs#L96
warning: method `resume` is never used --> pythondap/src/lib.rs:96:12 | 49 | impl Debugger { | ------------- method in this implementation ... 96 | pub fn resume(&mut self) -> PyResult<Option<ProgramState>> { | ^^^^^^
fields `internal` and `launched` are never read: pythondap/src/lib.rs#L25
warning: fields `internal` and `launched` are never read --> pythondap/src/lib.rs:25:5 | 24 | struct Debugger { | -------- fields in this struct 25 | internal: debugger::Debugger, | ^^^^^^^^ 26 | _events: Arc<Mutex<Vec<Event>>>, 27 | launched: bool, | ^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/