Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build #112

Open
WanderingTurtle opened this issue Oct 16, 2024 · 0 comments
Open

cannot build #112

WanderingTurtle opened this issue Oct 16, 2024 · 0 comments

Comments

@WanderingTurtle
Copy link

% dart pub global activate dartssh2_cli
Downloading packages... . (1.3s)

  • args 2.6.0
  • asn1lib 1.5.6
  • characters 1.3.0
  • clock 1.1.1
  • collection 1.19.0
  • convert 3.1.1
  • dart_console 1.2.0 (4.1.0 available)
  • dartssh2 2.10.0
  • dartssh2_cli 1.0.0
  • ffi 2.1.3
  • intl 0.18.1 (0.19.0 available)
  • js 0.7.1
  • meta 1.16.0
  • path 1.9.0
  • pinenacl 0.6.0
  • pointycastle 3.9.1
  • typed_data 1.3.2
  • win32 5.6.0
    Building package executables... (1.7s)
    Built dartssh2_cli:dartsftp.
    Failed to build dartssh2_cli:dartssh:
    ../../.pub-cache/hosted/pub.dev/dartssh2_cli-1.0.0/bin/dartssh.dart:54:29: Error: The argument type 'StreamSink<List>' can't be assigned to the parameter type 'StreamConsumer'.
  • 'StreamSink' is from 'dart:async'.
  • 'List' is from 'dart:core'.
  • 'StreamConsumer' is from 'dart:async'.
  • 'Uint8List' is from 'dart:typed_data'.
    connection.pipe(forward.sink);
    ^
    ../../.pub-cache/hosted/pub.dev/dartssh2_cli-1.0.0/bin/dartssh.dart:81:28: Error: The argument type 'StreamSink<List>' can't be assigned to the parameter type 'StreamConsumer'.
  • 'StreamSink' is from 'dart:async'.
  • 'List' is from 'dart:core'.
  • 'StreamConsumer' is from 'dart:async'.
  • 'Uint8List' is from 'dart:typed_data'.
    socket.pipe(connection.sink);
    ^

% dart info

If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.

General info

  • Dart 3.5.1 (stable) (Tue Aug 13 21:02:17 2024 +0000) on "macos_arm64"
  • on macos / Version 14.6.1 (Build 23G93)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant