git clone https://github.com/sway-gang/sway-lend
cd sway lend
git checkout
git checkout fe2508784f7dc11e6878dfd83136b81cb52e2701
code ./contracts/market/src/main.sw
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Char index out of bounds: char index 32982, Rope/RopeSlice char length 32749', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ropey-1.5.0/src/rope.rs:345:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 1:54:55 PM] Connection to server got closed. Server will restart.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Char index out of bounds: char index 32982, Rope/RopeSlice char length 32749', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ropey-1.5.0/src/rope.rs:345:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 1:54:59 PM] Connection to server got closed. Server will restart.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Char index out of bounds: char index 32982, Rope/RopeSlice char length 32749', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ropey-1.5.0/src/rope.rs:345:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 1:55:30 PM] Connection to server got closed. Server will restart.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Char index out of bounds: char index 32982, Rope/RopeSlice char length 32749', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ropey-1.5.0/src/rope.rs:345:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 5:39:30 PM] Connection to server got closed. Server will restart.
INFO [1/4/2023, 7:27:10 PM]: Starting the Sway Language Client and Server
INFO [1/4/2023, 7:27:10 PM]: Extension version: 0.2.7
INFO [1/4/2023, 7:27:10 PM]: Using configuration {
trace: {
server: 'off',
extension: false,
'fuel-core': { logfile: '/tmp/fuel-core_sway-vscode-plugin.log' }
},
debug: { showCollectedTokensAsWarnings: 'off' },
logging: { level: 'error' },
inlayHints: { renderColons: true, typeHints: true, maxLength: 25 }
}
INFO [1/4/2023, 7:27:10 PM]: Client has Connected to the Sway Language Server Successfully!
INFO [1/4/2023, 7:27:10 PM]: Starting the Sway Language Client and Server
INFO [1/4/2023, 7:27:10 PM]: Extension version: 0.2.7
INFO [1/4/2023, 7:27:10 PM]: Using configuration {
trace: {
server: 'off',
extension: false,
'fuel-core': { logfile: '/tmp/fuel-core_sway-vscode-plugin.log' }
},
debug: { showCollectedTokensAsWarnings: 'off' },
logging: { level: 'error' },
inlayHints: { renderColons: true, typeHints: true, maxLength: 25 }
}
I think perhaps the server is disturbed by the logo, which is located on lines 3-10